Skip to content

Commit 2fdd64e

Browse files
committed
Translate IA5String documentation to English
1 parent 53e2646 commit 2fdd64e

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,37 @@
1-
Ο τύπος **`IA5String`** (International Alphabet number 5) είναι ένας από τους βασικούς τύπους συμβολοσειρών χαρακτήρων (character string types) του ASN.1. Γενικά, είναι ισοδύναμος με το αλφάβητο ASCII.
1+
The **`IA5String`** type (International Alphabet number 5) is one of the fundamental character string types of ASN.1 and is generally equivalent to the ASCII alphabet.
22

3-
Η ανάθεση μιας αφηρημένης τιμής (abstract value) σε έναν τύπο στο ASN.1, συμπεριλαμβανομένου του `IA5String`, ακολουθεί έναν γενικό κανόνα:
3+
Assigning an abstract value to an ASN.1 type, including `IA5String`, follows these general rules:
44

5-
1. Το όνομα αναφοράς της τιμής πρέπει να ξεκινά με πεζό γράμμα (π.χ., `valuereference`).
6-
2. Ακολουθεί ο τύπος στον οποίο ανήκει η τιμή (πρέπει να ξεκινά με κεφαλαίο γράμμα, π.χ., `IA5String`).
7-
3. Χρησιμοποιείται το σύμβολο ανάθεσης **`::=`**.
8-
4. Ακολουθεί η ίδια η τιμή (`Value`).
5+
1. The value reference name must start with a lowercase letter (for example, `valuereference`).
6+
2. It is followed by the type to which the value belongs, starting with an uppercase letter (for example, `IA5String`).
7+
3. The assignment symbol **`::=`** is used.
8+
4. The actual value (`Value`) comes last.
99

10-
**Σημείωση:** Οι αφηρημένες τιμές που ορίζονται σε μια ASN.1 ενότητα **δεν κωδικοποιούνται ποτέ** για μετάδοση, αλλά χρησιμοποιούνται για τη βελτίωση της αναγνωσιμότητας σε περιορισμούς υποτύπων ή για τον καθορισμό προεπιλεγμένων τιμών.
10+
**Note:** Abstract values defined in an ASN.1 module are **never encoded** for transmission; they only improve readability in subtype constraints or define default values.
1111

12-
### Σύνταξη Τιμής IA5String
12+
### IA5String Value Syntax
1313

14-
Οι συμβολοσειρές χαρακτήρων (character strings) στο ASN.1, όπως ο `IA5String`, ορίζονται συνήθως μέσα σε διπλά εισαγωγικά (`"`).
14+
Character string types such as `IA5String` are typically enclosed in double quotes (`"`).
1515

16-
**1. Βασική Ανάθεση Συμβολοσειράς:**
16+
**1. Basic String Assignment:**
1717

18-
Μια βασική ανάθεση τιμής για τον τύπο `IA5String` μπορεί να μοιάζει με:
18+
A basic value assignment for `IA5String` looks like this:
1919

2020
```asn1
21-
string IA5String ::= "string including ""double quotes"""
22-
-- αντιπροσωπεύει <<string including "double quotes">>
21+
string IA5String ::= "string including ""double quotes"""
22+
-- represents <<string including "double quotes">>
2323
```
24-
Αν η συμβολοσειρά περιλαμβάνει διπλό εισαγωγικό, αυτό πρέπει να διπλασιαστεί μέσα στην τιμή.
24+
If the string contains a double quote, it must appear doubled within the value.
2525

26-
**2. Ανάθεση με μη Γραφικούς Χαρακτήρες:**
26+
**2. Assignment With Non-Graphic Characters:**
2727

28-
Για τον τύπο `IA5String`, υπάρχει μια ειδική σύνταξη που επιτρέπει την αναφορά σε μη γραφικούς χαρακτήρες (control characters), χρησιμοποιώντας αγκύλες `{}` σε μορφή λίστας (`CharacterStringList`):
28+
`IA5String` supports a special notation that allows you to reference non-graphic (control) characters by using braces `{}` in a `CharacterStringList` form:
2929

30-
* Αυτή η σύνταξη επιτρέπει την ανάμειξη (συνένωση) συμβολοσειρών σε διπλά εισαγωγικά και αναφορών σε χαρακτήρες.
31-
* Οι μη γραφικοί χαρακτήρες μπορούν να αναφέρονται είτε με καθορισμένες τιμές (που εισάγονται από την τυποποιημένη ενότητα **`ASN1-CHARACTER-MODULE`**) είτε μέσω της παραγωγής **`Tuple`**.
32-
* Η παραγωγή `Tuple` χρησιμοποιείται μόνο για τον τύπο `IA5String` και ορίζει χαρακτήρες με βάση τη θέση τους στη στήλη και τη σειρά (π.χ., `{TableColumn, TableRow}`).
30+
* This notation lets you mix quoted string fragments with character references.
31+
* Non-graphic characters can be referenced either by named values (imported from the standard **`ASN1-CHARACTER-MODULE`**) or through the **`Tuple`** production.
32+
* The `Tuple` production applies only to `IA5String` and identifies characters by their table column and row (for example, `{TableColumn, TableRow}`).
3333

34-
**Παράδειγμα** με χρήση εισαγόμενης αναφοράς χαρακτήρα:
34+
**Example** using an imported character reference:
3535
```asn1
3636
ExampleIA5String DEFINITIONS ::=
3737
BEGIN
@@ -41,4 +41,4 @@ two-lines IA5String ::= { "First line", cr,
4141
"Second line" }
4242
END
4343
```
44-
Στο παραπάνω παράδειγμα, η τιμή `two-lines` περιέχει τον χαρακτήρα αλλαγής γραμμής (CR).
44+
In this example the `two-lines` value includes a carriage-return (CR) character.

0 commit comments

Comments
 (0)