aboutsummaryrefslogtreecommitdiffstats
path: root/menu/translate_menus
blob: 097f9fa83b409415c7c7bbe2134a805cfe09d286 (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
97
98
99
100
101
102
103
104
105
106
107
108
109
#  /etc/menu-methods/menu-translate file for update-menus.
#
#
#
#  NOTE: if you want to translate the menu entries in a different language,
#        DO NOT USE THIS FILE!!!
#        use the gnu internationalisation tools, see the menu source
#	 code (menu/messages/README), and send the .po file you created
#	 to me, I'll include it in a next release of menu. 
#
#
#synopsis:
#
#translate x -> y    #where x and y are one of section, id, title, icon, ...
#  x-name  y-name
#  ...
#endtranslate
#
#The translations are done by update-menus: the menu-methods will not
#have to be aware of this.
#

#there's:
#  translate:     only translate for exact matches (RE "^$match\$"
#  subtranslate:  translate for matches of RE "^$match"
#  substitute:    substitute substrings: sed -s "/^$match/$repl/".
#                 this only works for "substitute x->x", and
#		  will give interesting results for " substitute x->y".
# 
#the following will map all Apps/Games sections into Games
# (the /etc/menu-methods will never even know Apps/Games exists,
#  no matter how many packages still use that):
#
#
# Language translators: DO NOT USE THIS FILE! (see note on top of this file)


substitute section->section
  Configuration  System/Configuration

  "Applications/Publishing"                               Office/Publishing
  Applications/Archiving                                  System/Archiving
  "Applications/File tools"                               "System/File Tools"
  Applications/Monitoring                                 System/Monitoring
  "Applications/Text tools"                               "System/Text Tools"
  Applications                                            "More Applications"

  Terminals                                               System/Terminals

  Documentation                                           "More Applications/Documentation"

  Office/PDA                                              Office/Communications/PDA

  Networking/IRC                                          Internet/Chat
  Networking/WWW                                          "Internet/Web Browsers"
  Networking                                              Internet

  Amusement                                               "More Applications/Games"

  Session/WindowManagers                                  System/Session/Windowmanagers

  "Office/Address books"                                  "Office/Address Books"
  "Office/Tasks management"                               "Office/Tasks Management"
  "Office/Time management"                                "Office/Time Management"
  "Networking/File transfer"                              "Internet/File Transfer"
  "Internet/File transfer"                                "Internet/File Transfer"
  "Networking/Instant messaging"                          "Internet/Instant Messaging"
  "Internet/Instant messaging"                            "Internet/Instant Messaging"
  "Networking/Remote access"                              "Internet/Remote Access"
  "Internet/Remote access"                                "Internet/Remote Access"
  "Internet/Video conference"                             "Internet/Video Conference"
  "Networking/Video conference"                           "Internet/Video Conference"
  "Internet/Web browsers"                                 "Internet/Web Browsers"
  "Networking/Web browsers"                               "Internet/Web Browsers"
  "Internet/Web editors"                                  "Internet/Web Editors"
  "Networking/Web editors"                                "Internet/Web Editors"
  "System/Archiving/Cd burning"                           "System/Archiving/CD Burning"
  "Applications/Archiving/Cd burning"                     "System/Archiving/CD Burning"
  "System/File tools"                                     "System/File Tools"
  "System/Text tools"                                     "System/Text Tools"
  "More applications"                                     "More Applications"
  "More applications/Development/Code generators"         "More Applications/Development/Code Generators"
  "Applications/Development/Code generators"              "More Applications/Development/Code Generators"
  "More applications/Development/Development environments" "More Applications/Development/Development Environments"
  "Applications/Development/Development environments"    "More Applications/Development/Development Environments"
  "More applications/Sciences/Artificial intelligence"    "More Applications/Sciences/Artificial Intelligence"
  "Applications/Sciences/Artificial intelligence"         "More Applications/Sciences/Artificial Intelligence"
  "More applications/Sciences/Data visualization"         "More Applications/Sciences/Data Visualization"
  "Applications/Sciences/Data visualization"              "More Applications/Sciences/Data Visualization"
  "More applications/Sciences/Image processing"           "More Applications/Sciences/Image Processing"
  "Applications/Sciences/Image processing"                "More Applications/Sciences/Image Processing"
  "More applications/Sciences/Numeric analysis"           "More Applications/Sciences/Numeric Analysis"
  "Applications/Sciences/Numeric analysis"                "More Applications/Sciences/Numeric Analysis"
  "More applications/Sciences/Parallel computing"         "More Applications/Sciences/Parallel Computing"
  "Applications/Sciences/Parallel computing"              "More Applications/Sciences/Parallel Computing"
endtranslate

# 
# #this could be for those who want different names
# translate title->title
#   Gnuplot    "GnuTeken"
#   Dosemu     "A better DOS than DOS (sometimes)"
# endtranslate
# 
#translate id->title
#  include /usr/lib/menus/LANGUAGE/finnish
#  menu/apps/editors  TekstVeranderaars
#endtranslate
#