Mercurial > projects > dil
annotate trunk/src/lang_tr.d @ 789:c1d5cfd7aa44
Implemented string literal conversion.
Removed two MID messages.
Added MSG.InvalidUTF8SequenceInString.
Added toUTF16() and toUTF32().
Fixed escape sequences.
Added formatBytes() and findInvalidUTF8Sequence().
author | Aziz K?ksal <aziz.koeksal@gmail.com> |
---|---|
date | Mon, 25 Feb 2008 02:56:22 +0100 |
parents | 3ead178e0662 |
children |
rev | line source |
---|---|
336 | 1 /++ |
2 Author: Aziz Köksal | |
3 License: GPL3 | |
4 +/ | |
5 | |
349 | 6 string lang_code = "tr"; |
7 | |
336 | 8 string[] messages = [ |
9 // Lexer messages: | |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
10 "illegal karakter bulundu: '{0}'", |
789
c1d5cfd7aa44
Implemented string literal conversion.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
432
diff
changeset
|
11 // "geçersiz Unikod karakteri.", |
c1d5cfd7aa44
Implemented string literal conversion.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
432
diff
changeset
|
12 "geçersiz UTF-8 serisi: '{0}'", |
336 | 13 // '' |
14 "kapanmamış karakter sabiti.", | |
15 "boş karakter sabiti.", | |
16 // #line | |
17 "'#' karakter'den sonra 'line' beklendi.", | |
18 "'#line''den sonra rakam beklendi.", | |
789
c1d5cfd7aa44
Implemented string literal conversion.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
432
diff
changeset
|
19 // `filespec dizgisi beklendi (e.g. "yol\dosya".)`, |
336 | 20 "kapanmamış filespec dizgisi.", |
21 "özel belirtici'den (special token) sonra yeni bir satır beklendi.", | |
22 // "" | |
23 "kapanmamış çift tırnak dizgisi.", | |
24 // x"" | |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
25 "heks sayı olmayan karakter '{0}' heks dizgisi içinde bulundu.", |
348 | 26 "heks dizginin içindeki sayılar çifter çifter olmalıdır.", |
336 | 27 "kapanmamış heks dizgisi.", |
28 // /* */ /+ +/ | |
29 "kapanmamış blok açıklaması (/* */).", | |
30 "kapanmamış iç içe koyulabilen açıklaması (/+ +/).", | |
31 // `` r"" | |
32 "kapanmamış çiğ dizgisi.", | |
33 "kapanmamış ters tırnak dizgisi.", | |
34 // \x \u \U | |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
35 "tanımlanmamış çıkış serisi '{0}' bulundu.", |
432
3ead178e0662
Added message MID.InvalidUnicodeEscapeSequence.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
405
diff
changeset
|
36 "geçersiz Unikod çıkış serisi '{0}' bulundu.", |
789
c1d5cfd7aa44
Implemented string literal conversion.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
432
diff
changeset
|
37 "heksadesimal çıkış serisi sayıları yeterli değil: '{0}'", |
336 | 38 // \&[a-zA-Z][a-zA-Z0-9]+; |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
39 "tanımlanmamış HTML varlık '{0}'", |
432
3ead178e0662
Added message MID.InvalidUnicodeEscapeSequence.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
405
diff
changeset
|
40 "kapanmamış HTML varlık '{0}'.", |
336 | 41 "HTML varlık bir harf ile başlamalı.", |
42 // integer overflows | |
43 "desimal rakamın bit işareti taşdı.", | |
44 "desimal rakam taşması.", | |
45 "heksadesimal rakam taşması.", | |
46 "binari rakam taşması.", | |
47 "oktal rakam taşması.", | |
48 "float rakam taşması.", | |
49 "8 ve 9 sayılar oktal rakamlar'da geçersizdir.", | |
348 | 50 "geçersiz heks rakam; minimum bir heks sayı gereklidir.", |
51 "geçersiz binari rakam; minimum bir binari sayı gereklidir.", | |
336 | 52 "bir heksadesimal float rakamın üsü gereklidir.", |
389
c4bfceab7246
Applied fixes and improvements to hex float scanner.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
387
diff
changeset
|
53 "heksadesimal float üsler desimal sayı ile başlamalı.", |
336 | 54 "üsler desimal sayı ile başlamalı.", |
55 | |
56 // Parser messages | |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
57 "'{0}' beklendi, ama '{1}' bulundu.", |
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
58 "'{0}' lüzumsuz.", |
341
3ac651ea83fb
- Fix: created TemplateAliasParameter instead of TemplateTypeParameter.
aziz
parents:
338
diff
changeset
|
59 "şablon tuple parametre son sırada olmalı.", |
342
f13d551d7c4f
- Added error messages MID.InContract and MID.OutContract.
aziz
parents:
341
diff
changeset
|
60 "fonksiyonun 'in' kontratı daha önceden ayrıştırılmış.", |
f13d551d7c4f
- Added error messages MID.InContract and MID.OutContract.
aziz
parents:
341
diff
changeset
|
61 "fonksiyonun 'out' kontratı daha önceden ayrıştırılmış.", |
359
511c14950cac
- Added messages MissingLinkageType and UnrecognizedLinkageType.
aziz
parents:
349
diff
changeset
|
62 "bağlantı tüp (linkage type) belirtilmedi.", |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
63 "bilinmeyen bağlantı tüpü (linkage type) '{0}'; geçerli olanlar C, C++, D, Windows, Pascal ve System.", |
405
e2529923a0cb
Added two error messages.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
391
diff
changeset
|
64 "expected one or more base classes, not '{0}'.", // TODO: translate |
e2529923a0cb
Added two error messages.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
391
diff
changeset
|
65 "base classes are not allowed in forward declarations.", // TODO: translate |
336 | 66 |
67 // Help messages: | |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
68 `dil v{0} |
789
c1d5cfd7aa44
Implemented string literal conversion.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
432
diff
changeset
|
69 Copyright (c) 2007-2008, Aziz Köksal. Lisans GPL3. |
336 | 70 |
71 Komutlar: | |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
72 {1} |
348 | 73 Belirli komut'a yardım edinmek için 'dil help <komut>' yazınız. |
336 | 74 |
391
33b566df6af4
Migrated project to Tango.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
390
diff
changeset
|
75 Bu yazılım {2} v{3} ile {4} tarihinde derletilmiş.`, |
375
0bd21b746a04
- Added code to main() for recognizing options to the importgraph command.
aziz
parents:
359
diff
changeset
|
76 |
345 | 77 `Bir D kaynak kodundan XML veya HTML dosyası oluştur. |
336 | 78 Kullanım: |
79 dil gen dosya.d [Seçenekler] | |
80 | |
81 Seçenekler: | |
338 | 82 --syntax : söz dizimi için etiketler yazdır |
83 --xml : XML biçimi kullan (varsayılır) | |
336 | 84 --html : HTML biçimi kullan |
85 | |
86 Örnek: | |
338 | 87 dil gen Parser.d --html --syntax > Parser.html`, |
375
0bd21b746a04
- Added code to main() for recognizing options to the importgraph command.
aziz
parents:
359
diff
changeset
|
88 |
0bd21b746a04
- Added code to main() for recognizing options to the importgraph command.
aziz
parents:
359
diff
changeset
|
89 ``, |
789
c1d5cfd7aa44
Implemented string literal conversion.
Aziz K?ksal <aziz.koeksal@gmail.com>
parents:
432
diff
changeset
|
90 ]; |