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 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
|
# SOME DESCRIPTIVE TITLE
# Copyright (C) YEAR Free Software Foundation, Inc.
# This file is distributed under the same license as the live-manual package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: live-manual VERSION\n"
"POT-Creation-Date: 2011-01-20 16:58-0400\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#. type: Plain text
#: en/about_manual.ssi:84 en/about_manual.ssi:92 en/about_manual.ssi:100
#: en/about_manual.ssi:108 en/about_manual.ssi:120 en/about_manual.ssi:133
#: en/about_manual.ssi:146 en/about_manual.ssi:154 en/about_manual.ssi:162
#: en/about_manual.ssi:170 en/project_bugs.ssi:60
#: en/project_coding-style.ssi:28 en/project_coding-style.ssi:38
#: en/project_coding-style.ssi:51 en/project_coding-style.ssi:61
#: en/project_coding-style.ssi:92 en/project_coding-style.ssi:100
#: en/project_coding-style.ssi:110 en/project_coding-style.ssi:121
#: en/project_procedures.ssi:12 en/project_procedures.ssi:46
#: en/project_procedures.ssi:58 en/user_basics.ssi:30 en/user_basics.ssi:40
#: en/user_basics.ssi:52 en/user_basics.ssi:64 en/user_basics.ssi:76
#: en/user_basics.ssi:86 en/user_basics.ssi:100 en/user_basics.ssi:108
#: en/user_basics.ssi:116 en/user_basics.ssi:126 en/user_basics.ssi:140
#: en/user_basics.ssi:152 en/user_basics.ssi:160 en/user_basics.ssi:168
#: en/user_basics.ssi:182 en/user_basics.ssi:190 en/user_basics.ssi:200
#: en/user_basics.ssi:218 en/user_basics.ssi:246 en/user_basics.ssi:262
#: en/user_basics.ssi:270 en/user_basics.ssi:290 en/user_basics.ssi:315
#: en/user_customization-contents.ssi:26 en/user_customization-contents.ssi:35
#: en/user_customization-contents.ssi:54 en/user_customization-contents.ssi:66
#: en/user_customization-installer.ssi:32
#: en/user_customization-installer.ssi:43
#: en/user_customization-packages.ssi:14 en/user_customization-packages.ssi:22
#: en/user_customization-packages.ssi:40 en/user_customization-packages.ssi:53
#: en/user_customization-packages.ssi:66 en/user_customization-packages.ssi:80
#: en/user_customization-packages.ssi:94
#: en/user_customization-packages.ssi:112
#: en/user_customization-packages.ssi:142
#: en/user_customization-packages.ssi:155
#: en/user_customization-packages.ssi:165
#: en/user_customization-packages.ssi:175
#: en/user_customization-packages.ssi:185
#: en/user_customization-packages.ssi:199
#: en/user_customization-packages.ssi:215
#: en/user_customization-packages.ssi:227
#: en/user_customization-packages.ssi:291
#: en/user_customization-packages.ssi:303
#: en/user_customization-packages.ssi:313
#: en/user_customization-packages.ssi:331
#: en/user_customization-packages.ssi:348 en/user_customization-runtime.ssi:14
#: en/user_customization-runtime.ssi:32 en/user_customization-runtime.ssi:42
#: en/user_customization-runtime.ssi:51 en/user_customization-runtime.ssi:59
#: en/user_customization-runtime.ssi:68 en/user_customization-runtime.ssi:89
#: en/user_customization-runtime.ssi:97 en/user_customization-runtime.ssi:106
#: en/user_examples.ssi:14 en/user_examples.ssi:30 en/user_examples.ssi:40
#: en/user_examples.ssi:54 en/user_examples.ssi:64 en/user_examples.ssi:80
#: en/user_examples.ssi:90 en/user_examples.ssi:107 en/user_examples.ssi:117
#: en/user_examples.ssi:131 en/user_examples.ssi:139 en/user_examples.ssi:154
#: en/user_examples.ssi:162 en/user_examples.ssi:178 en/user_examples.ssi:190
#: en/user_examples.ssi:206 en/user_examples.ssi:220 en/user_examples.ssi:229
#: en/user_examples.ssi:247 en/user_examples.ssi:255 en/user_examples.ssi:268
#: en/user_examples.ssi:283 en/user_installation.ssi:38
#: en/user_installation.ssi:46 en/user_installation.ssi:56
#: en/user_installation.ssi:64 en/user_installation.ssi:74
#: en/user_installation.ssi:82 en/user_installation.ssi:90
#: en/user_installation.ssi:114 en/user_installation.ssi:129
#: en/user_installation.ssi:146 en/user_managing_a_configuration.ssi:24
#: en/user_managing_a_configuration.ssi:35
#: en/user_managing_a_configuration.ssi:47
#: en/user_managing_a_configuration.ssi:56 en/user_overview.ssi:36
#: en/user_overview.ssi:80 en/user_overview.ssi:88
msgid "code{"
msgstr ""
#. type: Plain text
#: en/about_manual.ssi:88 en/about_manual.ssi:96 en/about_manual.ssi:104
#: en/about_manual.ssi:112 en/about_manual.ssi:129 en/about_manual.ssi:142
#: en/about_manual.ssi:150 en/about_manual.ssi:158 en/about_manual.ssi:166
#: en/about_manual.ssi:174 en/project_bugs.ssi:64
#: en/project_coding-style.ssi:34 en/project_coding-style.ssi:45
#: en/project_coding-style.ssi:57 en/project_coding-style.ssi:68
#: en/project_coding-style.ssi:96 en/project_coding-style.ssi:104
#: en/project_coding-style.ssi:117 en/project_coding-style.ssi:128
#: en/project_procedures.ssi:16 en/project_procedures.ssi:54
#: en/project_procedures.ssi:131 en/user_basics.ssi:34 en/user_basics.ssi:44
#: en/user_basics.ssi:58 en/user_basics.ssi:70 en/user_basics.ssi:80
#: en/user_basics.ssi:92 en/user_basics.ssi:104 en/user_basics.ssi:112
#: en/user_basics.ssi:120 en/user_basics.ssi:130 en/user_basics.ssi:146
#: en/user_basics.ssi:156 en/user_basics.ssi:164 en/user_basics.ssi:172
#: en/user_basics.ssi:186 en/user_basics.ssi:194 en/user_basics.ssi:204
#: en/user_basics.ssi:238 en/user_basics.ssi:250 en/user_basics.ssi:266
#: en/user_basics.ssi:274 en/user_basics.ssi:301 en/user_basics.ssi:340
#: en/user_customization-contents.ssi:31 en/user_customization-contents.ssi:46
#: en/user_customization-contents.ssi:58 en/user_customization-contents.ssi:70
#: en/user_customization-installer.ssi:37
#: en/user_customization-installer.ssi:48
#: en/user_customization-packages.ssi:18 en/user_customization-packages.ssi:26
#: en/user_customization-packages.ssi:45 en/user_customization-packages.ssi:58
#: en/user_customization-packages.ssi:70 en/user_customization-packages.ssi:84
#: en/user_customization-packages.ssi:98
#: en/user_customization-packages.ssi:116
#: en/user_customization-packages.ssi:147
#: en/user_customization-packages.ssi:161
#: en/user_customization-packages.ssi:171
#: en/user_customization-packages.ssi:181
#: en/user_customization-packages.ssi:191
#: en/user_customization-packages.ssi:203
#: en/user_customization-packages.ssi:219
#: en/user_customization-packages.ssi:231
#: en/user_customization-packages.ssi:295
#: en/user_customization-packages.ssi:307
#: en/user_customization-packages.ssi:317
#: en/user_customization-packages.ssi:344
#: en/user_customization-packages.ssi:354 en/user_customization-runtime.ssi:18
#: en/user_customization-runtime.ssi:36 en/user_customization-runtime.ssi:47
#: en/user_customization-runtime.ssi:55 en/user_customization-runtime.ssi:64
#: en/user_customization-runtime.ssi:73 en/user_customization-runtime.ssi:93
#: en/user_customization-runtime.ssi:102 en/user_customization-runtime.ssi:111
#: en/user_examples.ssi:20 en/user_examples.ssi:34 en/user_examples.ssi:44
#: en/user_examples.ssi:58 en/user_examples.ssi:68 en/user_examples.ssi:86
#: en/user_examples.ssi:101 en/user_examples.ssi:111 en/user_examples.ssi:123
#: en/user_examples.ssi:135 en/user_examples.ssi:150 en/user_examples.ssi:158
#: en/user_examples.ssi:166 en/user_examples.ssi:186 en/user_examples.ssi:202
#: en/user_examples.ssi:210 en/user_examples.ssi:225 en/user_examples.ssi:233
#: en/user_examples.ssi:251 en/user_examples.ssi:264 en/user_examples.ssi:279
#: en/user_examples.ssi:297 en/user_installation.ssi:42
#: en/user_installation.ssi:50 en/user_installation.ssi:60
#: en/user_installation.ssi:70 en/user_installation.ssi:78
#: en/user_installation.ssi:86 en/user_installation.ssi:94
#: en/user_installation.ssi:119 en/user_installation.ssi:136
#: en/user_installation.ssi:150 en/user_managing_a_configuration.ssi:31
#: en/user_managing_a_configuration.ssi:43
#: en/user_managing_a_configuration.ssi:52
#: en/user_managing_a_configuration.ssi:60 en/user_overview.ssi:74
#: en/user_overview.ssi:84 en/user_overview.ssi:92
msgid "}code"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:2
msgid "B~ Coding Style"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:4
msgid "1~coding-style Coding Style"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:6
msgid "This chapter documents the coding style used in live-boot and others."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:8
msgid "2~ Compatibility"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:10
msgid ""
"_* Don't use syntax or semantics that are unique to the Bash shell. For "
"example, the use of array constructs."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:12
msgid "_* Only use the POSIX subset - for example, use $(foo) over `foo`."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:14
msgid "_* You can check your scripts with 'sh -n' and 'checkbashisms'."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:16
msgid "2~ Indenting"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:18
msgid "_* Always use tabs over spaces."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:20
msgid "2~ Wrapping"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:22
msgid "_* Generally, lines are 80 chars at maximum."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:24
msgid "_* Use the \"Linux style\" of line breaks:"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:26 en/project_coding-style.ssi:49
#: en/project_coding-style.ssi:90 en/project_coding-style.ssi:108
msgid "Bad:"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:32
#, no-wrap
msgid ""
" if foo; then\n"
" bar\n"
" fi\n"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:36 en/project_coding-style.ssi:59
#: en/project_coding-style.ssi:98 en/project_coding-style.ssi:119
msgid "Good:"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:43
#, no-wrap
msgid ""
" if foo\n"
" then\n"
" bar\n"
" fi\n"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:47
msgid "_* The same holds for functions:"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:55
#, no-wrap
msgid ""
" foo () {\n"
" bar\n"
" }\n"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:66
#, no-wrap
msgid ""
" foo ()\n"
" {\n"
" bar\n"
" }\n"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:70
msgid "2~ Variables"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:72
msgid "_* Variables are always in capital letters."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:74
msgid ""
"_* Variables that used in #{lb config}# always start with #{LB_}# prefix."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:76
msgid ""
"_* Internal temporary variables in live-build should start with the #{\\_LB_}"
"# prefix."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:78
msgid "_* Local variables start with live-build #{\\_\\_LB_}# prefix."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:80
msgid ""
"_* Variables in connection to a boot parameter in live-config start with #"
"{LIVE_}#."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:82
msgid "_* All other variables in live-config start with #{_}# prefix."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:84
msgid ""
"_* Use braces around variables; e.g. write #{${FOO}}# instead of #{$FOO}#."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:86
msgid ""
"_* Always protect variables with quotes to respect potential whitespaces: "
"write #{\"${FOO}\"}# not #{${FOO}}#."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:88
msgid ""
"_* For consistency reasons, always use quotes when assigning values to "
"variables:"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:94
#, no-wrap
msgid " FOO=bar\n"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:102
#, no-wrap
msgid " FOO=\"bar\"\n"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:106
msgid "_* If multiple variables are used, quote the full expression:"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:115
#, no-wrap
msgid ""
" if [ -f \"${FOO}\"/foo/\"${BAR}\"/bar ]\n"
" then\n"
" foobar\n"
" fi\n"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:126
#, no-wrap
msgid ""
" if [ -f \"${FOO}/foo/${BAR}/bar\" ]\n"
" then\n"
" foobar\n"
" fi\n"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:130
msgid "2~ Miscellaneous"
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:132
msgid ""
"_* Use \"#{|}#\" (without the surround quotes) as a seperator in calls to "
"sed, e.g. \"#{sed -e 's|foo|bar|'}#\" (without \"\")."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:134
msgid ""
"_* Don't use the #{test}# command for comparisons or tests, use \"#{[}#\" \"#"
"{]}#\" (without \"\"); e.g. \"#{if [ -x /bin/foo ]; ...}#\" and not \"#{if "
"test -x /bin/foo; ...}#\"."
msgstr ""
#. type: Plain text
#: en/project_coding-style.ssi:135
msgid ""
"_* Use #{case}# wherever possible over #{test}#, as it's easier to read and "
"faster in execution."
msgstr ""
|