Переглянути джерело

Don't internationalize error messages used when defining a macro (#33426).


git-svn-id: http://svn.redmine.org/redmine/trunk@20015 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Go MAEDA 3 роки тому
джерело
коміт
e84ab8fcb6
50 змінених файлів з 2 додано та 148 видалено
  1. 0
    3
      config/locales/ar.yml
  2. 0
    3
      config/locales/az.yml
  3. 0
    3
      config/locales/bg.yml
  4. 0
    3
      config/locales/bs.yml
  5. 0
    3
      config/locales/ca.yml
  6. 0
    3
      config/locales/cs.yml
  7. 0
    3
      config/locales/da.yml
  8. 0
    3
      config/locales/de.yml
  9. 0
    3
      config/locales/el.yml
  10. 0
    3
      config/locales/en-GB.yml
  11. 0
    2
      config/locales/en.yml
  12. 0
    3
      config/locales/es-PA.yml
  13. 0
    3
      config/locales/es.yml
  14. 0
    3
      config/locales/et.yml
  15. 0
    3
      config/locales/eu.yml
  16. 0
    3
      config/locales/fa.yml
  17. 0
    3
      config/locales/fi.yml
  18. 0
    3
      config/locales/fr.yml
  19. 0
    3
      config/locales/gl.yml
  20. 0
    3
      config/locales/he.yml
  21. 0
    3
      config/locales/hr.yml
  22. 0
    3
      config/locales/hu.yml
  23. 0
    3
      config/locales/id.yml
  24. 0
    3
      config/locales/it.yml
  25. 0
    3
      config/locales/ja.yml
  26. 0
    3
      config/locales/ko.yml
  27. 0
    3
      config/locales/lt.yml
  28. 0
    3
      config/locales/lv.yml
  29. 0
    3
      config/locales/mk.yml
  30. 0
    3
      config/locales/mn.yml
  31. 0
    3
      config/locales/nl.yml
  32. 0
    3
      config/locales/no.yml
  33. 0
    3
      config/locales/pl.yml
  34. 0
    3
      config/locales/pt-BR.yml
  35. 0
    3
      config/locales/pt.yml
  36. 0
    3
      config/locales/ro.yml
  37. 0
    3
      config/locales/ru.yml
  38. 0
    3
      config/locales/sk.yml
  39. 0
    3
      config/locales/sl.yml
  40. 0
    3
      config/locales/sq.yml
  41. 0
    3
      config/locales/sr-YU.yml
  42. 0
    3
      config/locales/sr.yml
  43. 0
    3
      config/locales/sv.yml
  44. 0
    3
      config/locales/th.yml
  45. 0
    3
      config/locales/tr.yml
  46. 0
    3
      config/locales/uk.yml
  47. 0
    3
      config/locales/vi.yml
  48. 0
    3
      config/locales/zh-TW.yml
  49. 0
    3
      config/locales/zh.yml
  50. 2
    2
      lib/redmine/wiki_formatting/macros.rb

+ 0
- 3
config/locales/ar.yml Переглянути файл

@@ -1386,9 +1386,6 @@ ar:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/az.yml Переглянути файл

@@ -1478,9 +1478,6 @@ az:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/bg.yml Переглянути файл

@@ -1355,9 +1355,6 @@ bg:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/bs.yml Переглянути файл

@@ -1399,9 +1399,6 @@ bs:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/ca.yml Переглянути файл

@@ -1376,9 +1376,6 @@ ca:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/cs.yml Переглянути файл

@@ -1376,9 +1376,6 @@ cs:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/da.yml Переглянути файл

@@ -1403,9 +1403,6 @@ da:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/de.yml Переглянути файл

@@ -1360,9 +1360,6 @@ de:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/el.yml Переглянути файл

@@ -1386,9 +1386,6 @@ el:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/en-GB.yml Переглянути файл

@@ -1387,9 +1387,6 @@ en-GB:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 2
config/locales/en.yml Переглянути файл

@@ -235,8 +235,6 @@ en:
error_not_allowed_to_log_time_for_other_users: "You are not allowed to log time for other users"
error_can_not_execute_macro_html: "Error executing the <strong>%{name}</strong> macro (%{error})"
error_macro_does_not_accept_block: "This macro does not accept a block of text"
error_invalid_macro_name: "Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters are accepted)"
error_can_not_create_macro_without_block: "Can not create a macro without a block!"
error_childpages_macro_no_argument: "With no argument, this macro can be called from wiki pages only"
error_circular_inclusion: "Circular inclusion detected"
error_page_not_found: "Page not found"

+ 0
- 3
config/locales/es-PA.yml Переглянути файл

@@ -1416,9 +1416,6 @@ es-PA:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/es.yml Переглянути файл

@@ -1414,9 +1414,6 @@ es:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/et.yml Переглянути файл

@@ -1391,9 +1391,6 @@ et:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/eu.yml Переглянути файл

@@ -1387,9 +1387,6 @@ eu:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/fa.yml Переглянути файл

@@ -1360,9 +1360,6 @@ fa:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/fi.yml Переглянути файл

@@ -1407,9 +1407,6 @@ fi:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/fr.yml Переглянути файл

@@ -1376,9 +1376,6 @@ fr:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/gl.yml Переглянути файл

@@ -1393,9 +1393,6 @@ gl:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/he.yml Переглянути файл

@@ -1391,9 +1391,6 @@ he:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/hr.yml Переглянути файл

@@ -1383,9 +1383,6 @@ hr:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/hu.yml Переглянути файл

@@ -1405,9 +1405,6 @@
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/id.yml Переглянути файл

@@ -1388,9 +1388,6 @@ id:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/it.yml Переглянути файл

@@ -1379,9 +1379,6 @@ it:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/ja.yml Переглянути файл

@@ -1362,9 +1362,6 @@ ja:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/ko.yml Переглянути файл

@@ -1424,9 +1424,6 @@ ko:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/lt.yml Переглянути файл

@@ -1376,9 +1376,6 @@ lt:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/lv.yml Переглянути файл

@@ -1380,9 +1380,6 @@ lv:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/mk.yml Переглянути файл

@@ -1386,9 +1386,6 @@ mk:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/mn.yml Переглянути файл

@@ -1386,9 +1386,6 @@ mn:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/nl.yml Переглянути файл

@@ -1361,9 +1361,6 @@ nl:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/no.yml Переглянути файл

@@ -1376,9 +1376,6 @@
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/pl.yml Переглянути файл

@@ -1399,9 +1399,6 @@ pl:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/pt-BR.yml Переглянути файл

@@ -1391,9 +1391,6 @@ pt-BR:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/pt.yml Переглянути файл

@@ -1379,9 +1379,6 @@ pt:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/ro.yml Переглянути файл

@@ -1381,9 +1381,6 @@ ro:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/ru.yml Переглянути файл

@@ -1471,9 +1471,6 @@ ru:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/sk.yml Переглянути файл

@@ -1375,9 +1375,6 @@ sk:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/sl.yml Переглянути файл

@@ -1386,9 +1386,6 @@ sl:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/sq.yml Переглянути файл

@@ -1382,9 +1382,6 @@ sq:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/sr-YU.yml Переглянути файл

@@ -1388,9 +1388,6 @@ sr-YU:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/sr.yml Переглянути файл

@@ -1387,9 +1387,6 @@ sr:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/sv.yml Переглянути файл

@@ -1419,9 +1419,6 @@ sv:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/th.yml Переглянути файл

@@ -1382,9 +1382,6 @@ th:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/tr.yml Переглянути файл

@@ -1393,9 +1393,6 @@ tr:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/uk.yml Переглянути файл

@@ -1374,9 +1374,6 @@ uk:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/vi.yml Переглянути файл

@@ -1438,9 +1438,6 @@ vi:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/zh-TW.yml Переглянути файл

@@ -1424,9 +1424,6 @@
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 0
- 3
config/locales/zh.yml Переглянути файл

@@ -1363,9 +1363,6 @@ zh:
error_can_not_execute_macro_html: Error executing the <strong>%{name}</strong> macro
(%{error})
error_macro_does_not_accept_block: This macro does not accept a block of text
error_invalid_macro_name: 'Invalid macro name: %{name} (only 0-9, A-Z, a-z and _ characters
are accepted)'
error_can_not_create_macro_without_block: Can not create a macro without a block!
error_childpages_macro_no_argument: With no argument, this macro can be called from
wiki pages only
error_circular_inclusion: Circular inclusion detected

+ 2
- 2
lib/redmine/wiki_formatting/macros.rb Переглянути файл

@@ -152,10 +152,10 @@ module Redmine
def macro(name, options={}, &block)
options.assert_valid_keys(:desc, :parse_args)
unless /\A\w+\z/.match?(name.to_s)
raise t(:error_invalid_macro_name, :name => name)
raise "Invalid macro name: #{name} (only 0-9, A-Z, a-z and _ characters are accepted)"
end
unless block_given?
raise t(:error_can_not_create_macro_without_block)
raise "Can not create a macro without a block!"
end
name = name.to_s.downcase.to_sym
available_macros[name] = {:desc => @@desc || ''}.merge(options)

Завантаження…
Відмінити
Зберегти