macaw 0.0.1 → 0.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +2 -16
  3. data/Gemfile +4 -0
  4. data/Gemfile.lock +27 -0
  5. data/LICENSE.txt +1 -1
  6. data/README.md +82 -0
  7. data/Rakefile +132 -0
  8. data/bin/macaw +308 -0
  9. data/lib/macaw.rb +2 -3
  10. data/lib/macaw/i18n/de.yml +171 -0
  11. data/lib/macaw/i18n/en.yml +157 -0
  12. data/lib/macaw/i18n/es.yml +159 -0
  13. data/lib/macaw/i18n/fr.yml +160 -0
  14. data/lib/macaw/i18n/it.yml +157 -0
  15. data/lib/macaw/i18n/pt-BR.yml +154 -0
  16. data/lib/macaw/i18n/pt.yml +155 -0
  17. data/lib/macaw/i18n/ru.yml +159 -0
  18. data/lib/macaw/i18n/tr.yml +148 -0
  19. data/lib/macaw/rules/animate.rb +26 -0
  20. data/lib/macaw/rules/biber.rb +8 -0
  21. data/lib/macaw/rules/bibtex.rb +8 -0
  22. data/lib/macaw/rules/clean.rb +10 -0
  23. data/lib/macaw/rules/dvipdfm.rb +9 -0
  24. data/lib/macaw/rules/dvipdfmx.rb +9 -0
  25. data/lib/macaw/rules/dvips.rb +9 -0
  26. data/lib/macaw/rules/dvipsps2pdf.rb +10 -0
  27. data/lib/macaw/rules/frontespizio.rb +14 -0
  28. data/lib/macaw/rules/indent.rb +36 -0
  29. data/lib/macaw/rules/latex.rb +17 -0
  30. data/lib/macaw/rules/lmkclean.rb +13 -0
  31. data/lib/macaw/rules/lualatex.rb +17 -0
  32. data/lib/macaw/rules/lualatexmk.rb +17 -0
  33. data/lib/macaw/rules/luatex.rb +17 -0
  34. data/lib/macaw/rules/make.rb +9 -0
  35. data/lib/macaw/rules/makeglossaries.rb +9 -0
  36. data/lib/macaw/rules/makeindex.rb +16 -0
  37. data/lib/macaw/rules/nomencl.rb +17 -0
  38. data/lib/macaw/rules/pdflatex.rb +17 -0
  39. data/lib/macaw/rules/pdflatexmk.rb +17 -0
  40. data/lib/macaw/rules/pdftex.rb +16 -0
  41. data/lib/macaw/rules/ps2pdf.rb +16 -0
  42. data/lib/macaw/rules/sketch.rb +14 -0
  43. data/lib/macaw/rules/songidx.rb +8 -0
  44. data/lib/macaw/rules/sumatrapdf.rb +10 -0
  45. data/lib/macaw/rules/tex.rb +9 -0
  46. data/lib/macaw/rules/texcount.rb +9 -0
  47. data/lib/macaw/rules/xdvipdfmx.rb +9 -0
  48. data/lib/macaw/rules/xelatex.rb +16 -0
  49. data/lib/macaw/rules/xelatexmk.rb +14 -0
  50. data/lib/macaw/rules/xetex.rb +15 -0
  51. data/lib/macaw/version.rb +2 -2
  52. data/macaw.gemspec +24 -17
  53. data/test/test_macaw.rb +8 -0
  54. metadata +133 -30
@@ -1,4 +1,3 @@
1
- require 'macaw/version'
1
+ require 'require_all'
2
2
 
3
- module Macaw
4
- end
3
+ require_all File.join(File.dirname(__FILE__), 'macaw', 'rules')
@@ -0,0 +1,171 @@
1
+ ---
2
+ de:
3
+ log:
4
+ WelcomeMessage: Willkommen zu macaw %{0}!
5
+ ProcessingFile: Bearbeitung der Datei "%{file}", bitte warten.
6
+ Done: Fertig.
7
+ ExceptionRaised: 'Eine Ausnahme mit folgender Nachricht ist durch macaw ausgelöst
8
+ worden:'
9
+ ReadyToRunCommands: Bereit zum Start der Anweisungen.
10
+ CommandName: 'Verarbeitung von: "%{0}".'
11
+ Command: 'Anweisung: %{0}'
12
+ CommandSuccess: '"%{0}" wurde erfolgreich ausgeführt.'
13
+ CommandFailure: '"%{0}" gibt einen Fehlerwert zurück.'
14
+ AllCommandsSuccess: Alle Anweisungen wurden erfolgreich ausgeführt.
15
+ OutputLogging: 'Ausgabe des Protokolls:'
16
+ CommandNotFound: '"%{0}" wurde nicht im Suchpfad gefunden. Ausführungsversuch:
17
+ %{1}'
18
+ DirectiveFound: Anweisung in Zeile %{0} mit %{1} gefunden.
19
+ RuleFound: Aufgabe "%{0}" gefunden in "%{1}".
20
+ NoDirectivesFound: Keine Anweisungen in "%{0}" gefunden.
21
+ help:
22
+ Version: Ausgabe der Version.
23
+ Help: Ausgabe der Hilfe.
24
+ Log: Erstelle eine Protokolldatei (.log-Datei).
25
+ Verbose: Gebe das Protokoll der Anweisungen aus.
26
+ Timeout: Deklariere die Zeitbeschränkung je Anweisung (in Millisekunden).
27
+ Language: Lege die Sprache der Anwendung fest.
28
+ DryRun: Gehe durch alle definierten Anweisungen ohne sie auszuführen.
29
+ MaximumNumberOfLoops: Setze die maximale Anzahl an Schleifendurchgängen.
30
+ Usage: Usage
31
+ Progress: Print dots to mark progress
32
+ header:
33
+ Slogan: Das coole TeX Automatisierungstool
34
+ AllRightsReserved: Alle Rechte vorbehalten!
35
+ msg:
36
+ NoDirectivesFound: Ich habe keine Anweisungen in "%{file}" gefunden und daher
37
+ nichts getan. Ist es das, was du wirklich wolltest.
38
+ SpecialThanks: Ein besonderes Danke geht an %{contributors} und viele andere,
39
+ die dieses bescheidene Tool ermöglichten.
40
+ RunningCommand: Verarbeite %{0}...
41
+ Success: ERFOLGREICH
42
+ Failure: FEHLERHAFT
43
+ Status: 'Status:'
44
+ yamlerror:
45
+ Context: 'Kontext: %{0}'
46
+ Problem: 'Problem: %{0}'
47
+ ErrorLocation: Fehler in Zeile %{0}, Spalte %{1}.
48
+ error:
49
+ FileDoesNotExistWithExtensionsList: Es tut mir Leid, aber die Datei "%{0} %{1}"
50
+ existiert nicht. Beachte bitte, dass wenn du nur den Dateinamen (ohne Endung)
51
+ oder eine unbekannte Dateiendung angegeben hast, macaw stets versucht nach unterstützten
52
+ Dateiendungen in der Reihenfolge %{1} zu suchen. Du kannst die Reihenfolge bzw.
53
+ das Suchmuster ändern oder sogar neue Dateiendung hinzufügen. Bitte konsolidiere
54
+ die Dokumentation, um mehr über dieses und andere Features zu erfahren.
55
+ FileDoesNotExist: Datei "%{file}" existiert nicht.
56
+ CommandNotFound: Es tut mir Leid, aber die Anweisung der Aufgabe "%{0}" konnte
57
+ nicht gefunden werden. Bist du dir sicher, dass die Anweisung "%{1}" korrekt
58
+ oder über die Systempfade zugänglich ist?
59
+ InvalidYAMLConfigurationFile: 'Es tut mir Leid, aber deine macaw Konfigurationsdatei
60
+ ist unzulässig. Dies kann aus einem unzulässigen oder fehlenden YAML Eintrag
61
+ resultieren. Ich versuchte mein Bestes, um einen Auszug der Fehlermeldung zu
62
+ machen. Hier ist es:'
63
+ InvalidConfigurationFile: Uh-oh, die Konfigurationsdatei scheint unzulässig zu
64
+ sein. Bist du dir sicher, dass es sich um eine korrekt erstellte YAML-Datei
65
+ handelt? Leider kann macaw nicht fortsetzen, bis eine passende Konfigurationsdatei
66
+ bereitgestellt wird.
67
+ InvalidLanguageConfigurationFile: 'Housten, wir haben ein Problem. Leider ist
68
+ die in der Konfigurationsdatei spezifizierte Sprache nicht zulässig. Momentan
69
+ kann macaw die folgenden Sprachen unterstützen: %{languages}. Stelle sicher,
70
+ dass eine gültige Sprache gewählt wird oder entferne den Eintrag aus deiner
71
+ Konfigurationsdatei (der Sprachschlüssel ist optional), ansonsten kann macaw
72
+ nicht ausgeführt werden.'
73
+ InvalidFiletypesConfigurationFile: Es tut mir Leid, aber es scheint, dass du eine
74
+ benutzerdefinierte Konfigurationsdatei nutzt, bei der weder die Dateiendung
75
+ noch das Muster definiert wurde. Beides wird zum Fortfahren benötigt. Bitte
76
+ behebe diesen Fehler in deiner Konfigurationsdatei und versuche es erneut.
77
+ PathRuntimeErrorConfigurationFile: 'Es tut mir Leid, aber einer der Einträge des
78
+ Suchpfades in deiner Konfigurationsdatei hat eine nicht verfügbare Variable
79
+ im Zusammenhang mit dem Pfad: %{0}'
80
+ PathIOErrorConfigurationFile: Es tut mir Leid, aber einer der Einträge des Suchpfades
81
+ in deiner Konfigurationsdatei hat eine ungültige Verzeichnisstruktur. Kannst
82
+ du einen Blick darauf werfen?
83
+ InvalidYAMLDirective: 'Es scheint, als gäbe es eine deformierte Anweisung in der
84
+ Zeile %{0}. Die Anweisung kann einen Fehler in der YAML-Syntax aufweisen bzw.
85
+ einen ungültiger Eintrag haben. Ich versuchte mein Bestes, um einen Auszug der
86
+ Fehlermeldung zu machen. Hier ist es:'
87
+ DirectiveEmptyCurlyBrackets: Die Anweisung %{0} in Zeile %{1} hat ein leeres geschweiftes
88
+ Klammerpaar. Beachte bitte, dass macaw für eine klare Syntax optimiert ist,
89
+ wenn kein Parameter übergeben wird, sollte auch keine Klammer angegeben werden.
90
+ Um den Fehler zu beseitigen, reicht es aus, die geschweiften Klammern zu entfernen
91
+ oder ein Argument für die Anweisung zu übergeben.
92
+ DirectiveInvalidArgumentList: Die Anweisung %{0} in Zeile %{1} hat einen unzulässigen
93
+ Argumenttypen. Das Argument %{2} ist ein reserviertes Schlüsselwort von macaw
94
+ und verlangt stets eine Liste.
95
+ DirectiveReservedKeyword: Die Anweisung %{0} in Zeile %{1} hat einen unzulässigen
96
+ Argumentnamen. Der Name %{2} ist ein reserviertes Schlüsselwort von macaw und
97
+ repräsentiert jedes Element in der Liste %{3}. Bitte wähle einen anderen Namen
98
+ als Argument.
99
+ DirectiveListError: Die Anweisung "%{0}" in Zeile "%{1}" hat einen unzulässigen
100
+ Argumenttypen. Nur die Argumente "files" und "items" können eine liste haben.
101
+ Beides sind reservierte Schlüsselwörter von macaw.
102
+ InvalidDirective: Anscheinend gibt es eine ungültige Direktive in der Zeile %{0}.
103
+ Bitte prüfe und behebe es.
104
+ DirectiveGenericError: Die Anweisung "%{0}" in Zeile "%{1}" scheint deformiert
105
+ zu sein. Es kann ein Fehler in der YAML-Syntax oder eine falsche Zuordnung sein.
106
+ InvalidLanguage: 'Es tut mir Leid, aber die gewählte Sprache ist nicht verfügbar.
107
+ Im Moment werden folgende Sprachen unterstützt:'
108
+ RuleNotFound: Uh-oh, Ich konnte die Regel "%{0}" im Suchpfad nicht finden. Kannst
109
+ du bitte prüfen, ob der Regelname korrekt ist und die Regel durch den Suchpfad
110
+ gefunden wird?
111
+ InvalidYAMLRule: 'Es scheint, dass die Aufgabe "%{0}" einen Fehler in der YAML-Syntax
112
+ hat oder ein ungültiges Feld nutzt. Kannst du einen Blick auf die Datei "%{0}.yaml"
113
+ im Pfad "%{1}" werfen. Ich versuchte mein Bestes, um die Fehlermeldung auszuwerfen.
114
+ Hier ist sie:'
115
+ InvalidRule: Uh-oh, Die Aufgabe "%{0}" scheint ungültig zu sein. Bist du dir sicher,
116
+ dass die Datei "%{0}.yaml" im Pfad "%{1}" eine gültige YAML file ist?
117
+ EmptyIdentifierRule: Ein Problem in der Aufgabe "%{0}" wurde festgestellt. Die
118
+ Datei "%{0}.yaml" im Pfad "%{1}" verlangt einen gültigen Bezeichner (identifier).
119
+ Kannst du es beheben?
120
+ EmptyNameRule: Ein Problem in der Aufgabe "%{0}" wurde festgestellt. Die Datei
121
+ "%{0}.yaml" im Pfad "%{1}" verlangt einen gültigen Dateinamen. Kannst du es
122
+ beheben?
123
+ ForbiddenIdentifierRule: Uh-oh, die Aufgabe "%{0}" (Referenzierung auf Datei "%{0}.yaml"
124
+ im Pfad "%{1}") hat einen ungültigen Argumenteinbezeichner. "%{2}" ist ein reserviertes
125
+ Schlüsselwort und kann daher nicht genutzt werden. Kannst du einen anderen Namen
126
+ nutzen?
127
+ EmptyArgumentsListRule: 'Ein Problem wurde in der Aufgabe "%{0}" festgestellt.
128
+ Die Datei "%{0}.yaml" im Pfad "%{1}" verlangt eine validierte Liste an Argumenten.
129
+ Kannst du es beheben? Beachte, dass die Liste der Argumente auch leer sein kann.
130
+ Es ist aber unbedingt notwendig, dass das Argument explizit angeben wird: "arguments:
131
+ []".'
132
+ WrongIdentifierRule: 'Uh-oh, die Aufgabe "%{0}" (Referenzierung auf Datei "%{0}.yaml"
133
+ im Pfad "%{1}") hat einen falschen Identifier: "identifier" - Es wurde "%{0}"
134
+ anstelle von "%{2}" erwartet. Kannst du es beheben?'
135
+ ArgumentsNotDefinedInRule: 'Oh nein, es gibt Argumente in der Anweisung "%{0}",
136
+ welche nicht in der Regel "%{0}.yaml" im Pfad "%{1}" definiert wurden. Du kannst
137
+ sie aus der Anweisung "%{0}" entfernen oder als Liste von Argumenten in der
138
+ Regel "%{0}.yaml" ergänzen. Hier sind sie: %{2}'
139
+ DefaultValueRuntimeErrorRule: 'Es tut mir Leid, aber der Defaultwert für das Argument
140
+ "%{0}" der Aufgabe "%{1}" (Referenzierung auf Datei "%{0}.yaml" im Pfad "%{1}")
141
+ hat eine ungültige Variable/Methode im Regelkontext: "%{3}"'
142
+ FlagRuntimeErrorRule: 'Es tut mir Leid, aber der Flag für das Argument "%{0}"
143
+ der Aufgabe "%{1}" (Referenzierung auf Datei "%{0}.yaml" im Pfad "%{1}") hat
144
+ eine ungültige Variable/Methode im Regelkontext: "%{3}"'
145
+ DuplicatedCommandElementsRule: Uh-oh, in der Aufgabe "%{0}" werden beide Felder
146
+ "command" und "commands" verwendet (Referenzierung auf Datei "%{0}.yaml" im
147
+ Pfad "%{1}"). Du kannst nur eine der Anweisungen auswählen. Sollte deine Aufgabe
148
+ von einem einzelnen Kommando abhängen, kannst du "command" optimieren. Sollte
149
+ deine Regel mehrere Anweisungen benötigen, könnte das Feld "commands" geeignet
150
+ sein.
151
+ MissingCommandElementsRule: Uh-oh, die Aufgabe "%{0}" (Referenzierung auf Datei
152
+ "%{0}.yaml" im Pfad "%{1}") hat keines der Elemente "command" oder "commands".
153
+ Du musst nur eine der Anweisungen auswählen. Sollte deine Aufgabe von einem
154
+ einzelnen Kommando abhängen, kannst du "command" optimieren. Sollte deine Regel
155
+ mehrere Anweisungen benötigen, könnte das Feld "commands" geeignet sein.
156
+ CommandRuntimeErrorRule: 'Es tut mir Leid, aber das Kommando, welches in der Aufgabe
157
+ "%{0}" (Referenzierung auf Datei "%{0}.yaml" im Pfad "%{1}") genutzt wird, hat
158
+ eine ungültige Variable/Methode im Regelsinn: "%{2}"'
159
+ XMLFileNotFound: Es tut mir Leid, aber ich konnte die "%{0}" im aktuellen Verzeichnis
160
+ nicht finden.
161
+ XMLBadEncoding: Es tut mir Leid, aber anscheinend hat "%{0}" eine schlechte Zeichencodierung.
162
+ Lösche die Datei und versuche es erneut.
163
+ XMLMalformedFile: Es tut mir Leid, aber "%{0}" scheint deformiert zu sein. Lösche
164
+ die Datei und versuche es erneut.
165
+ XMLAccess: Es tut mir Leid, aber ich konnte nicht auf "%{0}" zugreifen. Bitte
166
+ prüfe die Verzeichnisrechte und versuche es erneut.
167
+ ConditionalNotBoolean: Es tut mir Leid, aber die folgende Bedingung kann nicht
168
+ zu einem Boole'schen Wert aufgelöst werden. Bitte schreibe es um und versuche
169
+ es erneut.
170
+ ConditionalRuntimeError: 'Es tut mir Leid, aber eine der Bedingungen hat eine
171
+ nicht verfügbare Variable in der Auswertung: "%{0}"'
@@ -0,0 +1,157 @@
1
+ ---
2
+ en:
3
+ log:
4
+ WelcomeMessage: Welcome to macaw %{0}!
5
+ ProcessingFile: Processing file "%{file}", please wait.
6
+ Done: Done.
7
+ ExceptionRaised: 'Macaw raised an exception with the following message:'
8
+ ReadyToRunCommands: Ready to run commands.
9
+ CommandName: Running "%{0}".
10
+ Command: 'Command: %{0}'
11
+ CommandSuccess: '"%{0}" was successfully executed.'
12
+ CommandFailure: '"%{0}" returned an error status.'
13
+ AllCommandsSuccess: All commands were successfully executed.
14
+ OutputLogging: 'Output logging:'
15
+ CommandNotFound: '"%{0}" was not found in the path. Execution attempt: %{1}'
16
+ DirectiveFound: Directive found in line %{0} with %{1}.
17
+ RuleFound: Task "%{0}" found in "%{1}".
18
+ NoDirectivesFound: No directives found in "%{0}".
19
+ help:
20
+ Version: print the application version
21
+ Help: print the help message
22
+ Log: generate a log output
23
+ Verbose: print the command output
24
+ Timeout: set the execution timeout (in milliseconds)
25
+ Language: set the application language
26
+ DryRun: go through all the motions of running a command, but with no actual calls
27
+ MaximumNumberOfLoops: set the maximum number of loops
28
+ Usage: Usage
29
+ Progress: Print dots to mark progress
30
+ header:
31
+ Slogan: The cool TeX automation tool
32
+ AllRightsReserved: All rights reserved.
33
+ msg:
34
+ NoDirectivesFound: I didn"t find any directives in "%{file}", and so didn"t do
35
+ anything. Is that what you really wanted?
36
+ SpecialThanks: A special thanks goes to %{contributors}, and many others for making
37
+ this humble tool possible.
38
+ RunningCommand: Running %{0}...
39
+ Success: SUCCESS
40
+ Failure: FAILURE
41
+ Status: 'Status:'
42
+ yamlerror:
43
+ Context: 'Context: %{0}'
44
+ Problem: 'Problem: %{0}'
45
+ ErrorLocation: Error found in line %{0}, column %{1}.
46
+ error:
47
+ FileDoesNotExistWithExtensionsList: I"m sorry, but the file "%{0} %{1}" does not
48
+ exist. Note that when you provide only the basename (i.e, the filename without
49
+ the extension) or with an unknown extension, macaw will try to look for files
50
+ ending with the predefined extensions %{1} in that order. You can override the
51
+ order, the search pattern or even add support for new extensions through the
52
+ configuration file. Please refer to the macaw manual to learn more about this
53
+ feature.
54
+ FileDoesNotExist: File "%{file}" does not exist.
55
+ CommandNotFound: |2-
56
+
57
+ I"m sorry, but the command from the "%{0}" task could not be found. Are you sure the command "%{1}" is correct, or even accessible from the system path?
58
+ InvalidYAMLConfigurationFile: 'I''m sorry, but apparently your macaw configuration
59
+ file is invalid, that is, it has invalid or missing YAML entries. Unfortunately,
60
+ macaw cannot proceed until the error is fixed. I tried my best to dump the error
61
+ message, so here it is:'
62
+ InvalidConfigurationFile: Uh-oh, the configuration file appears to be invalid.
63
+ Are you sure it's a proper YAML file? Unfortunately, macaw cannot proceed until
64
+ a proper configuration file is provided.
65
+ InvalidLanguageConfigurationFile: 'Houston, we have a problem. Sadly, the language
66
+ set in the configuration file is not valid. Currently, macaw can provide support
67
+ for the following languages: %{languages}. Make sure to choose a valid language
68
+ or remove the entry from the configuration file (the field is optional), otherwise
69
+ macaw cannot proceed.'
70
+ InvalidFiletypesConfigurationFile: I'm sorry, but it seems your configuration
71
+ file has customized filetypes with neither the extension or pattern defined.
72
+ Both are required in order to continue. Please fix this error in your configuration
73
+ file and try again.
74
+ PathRuntimeErrorConfigurationFile: 'I"m sorry, but one of the entries of the search
75
+ path in your configuration file has an unavailable variable in the path context:
76
+ "%{0}"'
77
+ PathIOErrorConfigurationFile: I'm sorry, but one of the entries of the search
78
+ path in your configuration file has a malformed directory structure. Could you
79
+ take a look at it?
80
+ InvalidYAMLDirective: 'It appears there is a malformed directive found at line
81
+ %{0}, that is, a directive that might have a YAML syntax error or an invalid
82
+ field. I tried my best to dump the error message, so here it is:'
83
+ DirectiveEmptyCurlyBrackets: Directive "%{0}" at line %{1} has empty curly brackets.
84
+ Note that macaw opts for a cleaner syntax when a directive has no parameters.
85
+ To fix it, it"s enough to either remove the curly brackets or provide the arguments
86
+ for the directive.
87
+ DirectiveInvalidArgumentList: Directive "%{0}" at line %{1} has an invalid argument
88
+ type. The argument "%{2}" is a reserved macaw keyword and always requires a
89
+ list.
90
+ DirectiveReservedKeyword: Directive "%{0}" at line %{1} has an invalid argument
91
+ name. The name "%{2}" is a reserved macaw keyword representing every element
92
+ in the "%{3}" list. Please, pick another name for that argument.
93
+ DirectiveListError: Directive "%{0}" at line %{1} has an invalid argument type.
94
+ Only the arguments "files" and "items" can have a list. Both are reserved macaw
95
+ keywords.
96
+ InvalidDirective: Apparently, there"s an invalid directive at line %{0}. Please
97
+ take a look and fix it.
98
+ DirectiveGenericError: Directive "%{0}" at line %{1} seems to be malformed. It
99
+ might be a YAML syntax error or a wrong mapping.
100
+ InvalidLanguage: 'I''m sorry, but the language code you chose is invalid. Currently,
101
+ the following languages are supported:'
102
+ RuleNotFound: Uh-oh, I could not find the "%{0}" rule in the search path. Could
103
+ you take a look if the rule name is correct and if the rule is accessible through
104
+ the search path?
105
+ InvalidYAMLRule: 'It appears that the "%{0}" task has a YAML syntax error or an
106
+ invalid field. Could you take a look at the "%{0}.yaml" file located at "%{1}".
107
+ I tried my best to dump the error message, so here it is:'
108
+ InvalidRule: Uh-oh, the "%{0}" task appears to be invalid. Are you sure the "%{0}.yaml"
109
+ file located at "%{1}" is a proper YAML file?
110
+ EmptyIdentifierRule: A problem was detected in the "%{0}" task. The "%{0}.yaml"
111
+ file located at "%{1}" requires a valid identifier. Could you fix it?
112
+ EmptyNameRule: A problem was detected in the "%{0}" task. The "%{0}.yaml" file
113
+ located at "%{1}" requires a valid name. Could you fix it?
114
+ ForbiddenIdentifierRule: Uh-oh, the "%{0}" task (referencing the "%{0}.yaml" file
115
+ located at "%{1}") has an invalid argument identifier. "%{2}" is a reserved
116
+ keyword, so it cannot be used. Could you use another name?
117
+ EmptyArgumentsListRule: 'A problem was detected in the "%{0}" task. The "%{0}.yaml"
118
+ file located at "%{1}" requires a valid list of arguments. Could you fix it?
119
+ Note that the list of arguments can also be empty, but it is still necessary
120
+ to define it explicitly (with "arguments: []").'
121
+ WrongIdentifierRule: Uh-oh, the "%{0}" task (referencing the "%{0}.yaml" file
122
+ located at "%{1}") has the wrong identifier - "%{0}" was expected, rather than
123
+ "%{2}". Could you fix it?
124
+ ArgumentsNotDefinedInRule: 'Oh no, there are arguments used in the diretive "%{0}"
125
+ which are not defined in the "%{0}.yaml" rule located at "%{1}". You can either
126
+ remove them from the "%{0}" directive or add them to the list of arguments in
127
+ the "%{0}.yaml" rule. Here they are: %{2}'
128
+ DefaultValueRuntimeErrorRule: 'I"m sorry, but the default value set for the argument
129
+ "%{0}" of the "%{1}" task (referencing the "%{1}.yaml" file located at "%{2}")
130
+ has an unavailable variable/method in the rule context: "%{3}"'
131
+ FlagRuntimeErrorRule: 'I"m sorry, but the flag set for the argument "%{0}" of
132
+ the "%{1}" task (referencing the "%{1}.yaml" file located at "%{2}") has an
133
+ unavailable variable/method in the rule context: "%{3}"'
134
+ DuplicatedCommandElementsRule: Uh-oh, both "command" and "commands" fields are
135
+ set in the "%{0}" task (referencing the "%{0}.yaml" file located at "%{1}").
136
+ You need to pick only one of them. If your task only relies on a single command,
137
+ you can opt for "command"; if your rule requires a set of commands, maybe the
138
+ "commands" field is more suitable.
139
+ MissingCommandElementsRule: Uh-oh, the "%{0}" task (referencing the "%{0}.yaml"
140
+ file located at "%{1}") does not have either the "command" or "commands" elements.
141
+ You need to pick only one of them. If your task only relies on a single command,
142
+ you can opt for "command"; if your rule requires a set of commands, maybe the
143
+ "commands" field is more suitable.
144
+ CommandRuntimeErrorRule: 'I"m sorry, but the command set for the "%{0}" task (referencing
145
+ the "%{0}.yaml" file located at "%{1}") has an unavailable variable/method in
146
+ the rule context: "%{2}"'
147
+ XMLFileNotFound: I"m sorry, but I could not find "%{0}" in the current directory.
148
+ XMLBadEncoding: I"m sorry, but apparently "%{0}" has a bad encoding. Delete the
149
+ file and try again.
150
+ XMLMalformedFile: I"m sorry, but "%{0}" seems to be malformed. Delete the file
151
+ and try again.
152
+ XMLAccess: I"m sorry, but I could not access "%{0}". Please check the directory
153
+ permissions and try again.
154
+ ConditionalNotBoolean: 'I''m sorry, but the following conditional does not resolve
155
+ to a boolean value. Please rewrite it and try again:'
156
+ ConditionalRuntimeError: 'I"m sorry, but one of the conditionals has an unavailable
157
+ variable in the evaluation context: "%{0}"'
@@ -0,0 +1,159 @@
1
+ ---
2
+ es:
3
+ log:
4
+ WelcomeMessage: ''
5
+ ProcessingFile: Procesando el archivo "%{file}", por favor espere.
6
+ Done: Listo.
7
+ ExceptionRaised: 'Macaw generó una excepción con el siguiente mensaje:'
8
+ ReadyToRunCommands: Listo para ejecutar comandos.
9
+ CommandName: Ejecutando "%{0}".
10
+ Command: 'Comando: %{0}'
11
+ CommandSuccess: '"%{0}" se ejecutó de manera exitosa.'
12
+ CommandFailure: '"%{0}" emitió un estado de error.'
13
+ AllCommandsSuccess: Todos los comandos han sido ejecutados de manera exitosa.
14
+ OutputLogging: 'Recuento de la salida:'
15
+ CommandNotFound: '"%{0}" no se encontró en la ruta. Tentativa de ejecución: %{1}'
16
+ DirectiveFound: Directiva encontrada en la línea %{0} con %{1}.
17
+ RuleFound: Tarea "%{0}" encontrada en "%{1}".
18
+ NoDirectivesFound: No se encontraron directivas en "%{0}".
19
+ help:
20
+ Version: imprime la versión de la aplicación
21
+ Help: imprime el mensaje de ayuda
22
+ Log: genera el registro de la salida
23
+ Verbose: imprime la salida del comando
24
+ Timeout: configura el 'timeout' de la ejecución (en milisegundos)
25
+ Language: configura el idioma de la aplicación
26
+ DryRun: ''
27
+ MaximumNumberOfLoops: ''
28
+ Usage: Usage
29
+ Progress: Print dots to mark progress
30
+ header:
31
+ Slogan: The cool TeX automation tool
32
+ AllRightsReserved: Todos los derechos reservados.
33
+ msg:
34
+ NoDirectivesFound: No encontré directivas en "%{file}", por lo que no ejecuté
35
+ ninguna acción. ¿Era esto lo que realmente deseaba?
36
+ SpecialThanks: Un agradecimiento especial a %{contributors}, y a muchos otros
37
+ por hacer posible esta herramienta.
38
+ RunningCommand: Ejecutando %{0}...
39
+ Success: "ÉXITO"
40
+ Failure: FALLO
41
+ Status: 'Estado:'
42
+ yamlerror:
43
+ Context: 'Contexto: %{0}'
44
+ Problem: 'Problema: %{0}'
45
+ ErrorLocation: Error encontrado en la línea %{0}, columna %{1}.
46
+ error:
47
+ FileDoesNotExistWithExtensionsList: Lo siento, pero el archivo "%{0} %{1}" no
48
+ existe. Note que cuando únicamente se utiliza el nombre base (es decir, el nombre
49
+ del archivo sin la extensión) o cuando se usa una extansión desconocida, macaw
50
+ intentará buscar los archivos terminados en las extensiones predefinidas %{1}
51
+ en ese orden. El orden y los patrones de búsqueda se pueden modificar, incluso
52
+ se puede agregar soporte para nuevas extensiones, utilizando el archivo de configuración.
53
+ Por favor consulte el manual de macaw para mayor información.
54
+ FileDoesNotExist: El archivo "%{file}" no existe.
55
+ CommandNotFound: |2-
56
+
57
+ Lo siento, pero el comando para la tarea "%{0}" no se encontró. Asegúrese de que el comando "%{1}" sea correcto y accesible desde la ruta ("path") del sistema.
58
+ InvalidYAMLConfigurationFile: 'Lo siento, pero aparentemente su archivo de configuración
59
+ de macaw no es válido; es decir, algunas entradas YAML hacen falta o son no
60
+ válidas. Desafortunadamente, macaw no puede seguir adelante hasta que se corrija
61
+ el error. Hice mi mejor esfuerzo registrando el mensaje de error, que es el
62
+ siguiente:'
63
+ InvalidConfigurationFile: "¡0h, oh! El archivo de configuración parece no ser
64
+ válido. Asegúrese de que sea un archivo YAML correcto. Desafortunadamente, macaw
65
+ no puede continuar a menos que el archivo de configuración sea correcto."
66
+ InvalidLanguageConfigurationFile: "!Houston, tenemos un problema! Lamentablemente,
67
+ el idioma configurado en el archivo de configuración no es válido. Actualemente
68
+ macaw soporta los siguientes idiomas: %{languages}. Asegúrese de escoger un
69
+ idioma válido o suprima la entrada del archivo de configuración (el campo es
70
+ opcional), de lo contrario, macaw no podrá continuar."
71
+ InvalidFiletypesConfigurationFile: Lo siento, pero parece que el archivo de configuración
72
+ contiene tipos de archivo para los cuales no se ha definido una extensión o
73
+ un patrón. Los dos son necesarios para continuar. Por favor, corrija este error
74
+ en el archivo de configuración e intente nuevamente.
75
+ PathRuntimeErrorConfigurationFile: 'Lo siento, pero una de las entradas de la
76
+ ruta de búsqueda en el archivo de configuración contiene una variable no disponible
77
+ en este contexto: "%{0}"'
78
+ PathIOErrorConfigurationFile: Lo siento, pero una de las entradas de la ruta de
79
+ búsqueda en el archivo de configuración tiene una estructura jerárquica mal
80
+ formada. ¿Podría por favor revisar las entradas?
81
+ InvalidYAMLDirective: 'Parece que hay una directiva mal formada en la línea %{0};
82
+ es decir, una directiva con un error de sintaxis YAML o con un campo inválido.
83
+ Hice mi mejor esfuerzo registrando el mensaje de error, que es el siguiente:'
84
+ DirectiveEmptyCurlyBrackets: La directiva "%{0}" en la línea %{1} no tiene contenido
85
+ entre un par de llaves. Note que macaw utiliza una sintaxis más simple cuando
86
+ una directiva no tiene parámetros. Para corregir este error, es suficiente remover
87
+ las llaves o insertar un argumento en la directiva.
88
+ DirectiveInvalidArgumentList: La directiva "%{0}" en la línea %{1} tiene un tipo
89
+ de argumento no válido. El argumento "%{2}" es una palabra clave reservada de
90
+ macaw que siempre requiere de una lista.
91
+ DirectiveReservedKeyword: La directiva "%{0}" en la línea %{1} tiene un nombre
92
+ de argumento no válido. El nombre "%{2}" es una palabra clave reservada de macaw
93
+ que representa todos los elementos de la lista "%{3}". Por favor, escoja otro
94
+ nombre para el argumento.
95
+ DirectiveListError: La directiva "%{0}" en la línea %{1} tiene un tipo de argumento
96
+ no válido. Únicamente los argumentos "files" e "items" pueden contener una lista;
97
+ los dos son palabras claves reservadas de macaw.
98
+ InvalidDirective: Aparentemente, hay una directiva no válida en la línea %{0}.
99
+ Por favor revísela y haga las correcciones necesarias.
100
+ DirectiveGenericError: La directiva "%{0}" en la línea %{1} está mal formada.
101
+ Podría tratarse de un error de sintaxis YAML o de una asignación incorrecta.
102
+ InvalidLanguage: 'Lo siento, pero el código de idioma escogido es inválido. Actualmente,
103
+ macaw soporta los siguientes idiomas:'
104
+ RuleNotFound: ¡Oh, oh! No se pudo hallar la regla "%{0}" en la ruta de búsqueda.
105
+ Revise que el nombre de la regla sea el corrceto y que la regla sea accesible
106
+ usando la ruta de búsqueda.
107
+ InvalidYAMLRule: 'Aparentemente la tarea "%{0}" contiene un error de sintaxis
108
+ YAML o un campo incorrecto. Por favor revise el archivo "%{0}.yaml" localizado
109
+ en "%{1}". Hice mi mejor esfuerzo registrando el mensaje de error, que es el
110
+ siguiente:'
111
+ InvalidRule: '!Oh, oh! Parece que la tarea "%{0}" es inválida. Asegúrese de que
112
+ el archivo "%{0}.yaml" localizado en "%{1}" sea un archivo YAML correcto.'
113
+ EmptyIdentifierRule: Se detectó un problema en la tarea "%{0}". El archivo "%{0}.yaml"
114
+ localizado en "%{1}" necesita un identificador válido. ¿Podría, por favor, corregirlo?
115
+ EmptyNameRule: Se detectó un problema en la tarea "%{0}". El archivo "%{0}.yaml"
116
+ localizado en "%{1}" necesita un nombre válido. ¿Podría, por favor, corregirlo?
117
+ ForbiddenIdentifierRule: '!Oh, oh! La tarea "%{0}" (que hace referencia al archivo
118
+ "%{0}.yaml" localizado en "%{1}") contiene un identificador de argumentos inválido.
119
+ "%{2}" es una palabra reservada y no puede ser utilizada. Por favor, utilice
120
+ otro nombre.'
121
+ EmptyArgumentsListRule: 'Se detectó un problema en la tarea "%{0}". El archivo
122
+ "%{0}.yaml" localizado en "%{1}" necesita una lista valida de argumentos. Por
123
+ favor, corríjala. Note que la lista de argumentos puede ser vacía, pero esto
124
+ debe declararse explícitamente (utilizando "arguments: []").'
125
+ WrongIdentifierRule: ¡Oh, oh! La tarea "%{0}" (que hace referencia al archivo
126
+ "%{0}.yaml" localizado en "%{1}") tiene un identificadoe erróneo - Se esperaba
127
+ "%{0}" y no "%{2}". Por favor, corríjalo.
128
+ ArgumentsNotDefinedInRule: '¡Oh, no! En la directiva "%{0}" se usan argumentos
129
+ que no están definidos en la regla "%{0}.yaml" localizada en "%{1}". Puede o
130
+ bien removerlos de la directiva "%{0}" o bien agregarlos a la lista de argumentos
131
+ en la regla "%{0}.yaml". Estos son: %{2}'
132
+ DefaultValueRuntimeErrorRule: 'Lo siento, pero el valor por defecto asignado al
133
+ argumento "%{0}" de la tarea "%{1}" (que hace referencia al archivo "%{1}.yaml"
134
+ localizado en "%{2}") contiene una variable o un método no válido en el contexto
135
+ de la regla: "%{3}"'
136
+ FlagRuntimeErrorRule: 'Lo siento, pero la señal ("flag") asignada al argumento
137
+ "%{0}" de la tarea "%{1}" (que hace referencia al archivo "%{1}.yaml" localizado
138
+ en "%{2}") contiene una variable o un método no válido en el contexto de la
139
+ regla: "%{3}"'
140
+ DuplicatedCommandElementsRule: ¡Oh, oh! Los dos campos "command" y "commands"
141
+ fueron simultáneamente asignados en la tarea "%{0}" (que hace referencia al
142
+ archivo "%{0}.yaml" localizado en "%{1}"). Es necesario escoger únicamente uno
143
+ de los dos. Si la tarea tan solo requiere un único comando, puede usar "command";
144
+ si la regla requiere un conjunto de comandos, quizá sea preferible utilizar
145
+ el campo "commands".
146
+ MissingCommandElementsRule: ¡Oh, oh! En la tarea "%{0}" (que hace referencia al
147
+ archivo "%{0}.yaml" localizado en "%{1}") hace falta o bien "command" o bien
148
+ "commands". Es necesario utilizar uno de ellos. Si la tarea tan solo requiere
149
+ un único comando, puede usar "command"; si la regla requiere de un conjunto
150
+ de comandos, quizá sea preferible utilizar el campo "commands".
151
+ CommandRuntimeErrorRule: 'Lo siento, pero el comando asignado a la tarea "%{0}"
152
+ (que hace referencia al archivo "%{0}.yaml" localizado en "%{1}") contiene una
153
+ variable o un método no válido en el contexto de la regla: "%{2}"'
154
+ XMLFileNotFound: ''
155
+ XMLBadEncoding: ''
156
+ XMLMalformedFile: ''
157
+ XMLAccess: ''
158
+ ConditionalNotBoolean: ''
159
+ ConditionalRuntimeError: ''