aboutsummaryrefslogtreecommitdiffstats
path: root/internal/i18n
diff options
context:
space:
mode:
authorgrm <grm@eyesin.space>2026-09-17 22:29:43 +0300
committergrm <grm@eyesin.space>2026-09-17 22:29:43 +0300
commit51ca573ef0c1ce4bd2ef7b7525e5543800fd1988 (patch)
treebaab4282475d4856476a59b7406c1a23673a941a /internal/i18n
parent2a65a1af2dd22c91ed3296dbea3809bdd1e988c3 (diff)
downloadblogspace-51ca573ef0c1ce4bd2ef7b7525e5543800fd1988.tar.gz
blogspace-51ca573ef0c1ce4bd2ef7b7525e5543800fd1988.tar.bz2
blogspace-51ca573ef0c1ce4bd2ef7b7525e5543800fd1988.zip
Add a page width: cap the columns at so many pixels, centred or at the left
The header's and footer's text follows the cap when they already follow the main column; their backgrounds stay full width. The inset that lines them up with the main column is now exact — the wrap's 1em plus the column's share of the wrap's content box — and, with a page width, uses min() so it is right whether the page or the screen is the narrower. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/i18n')
-rw-r--r--internal/i18n/el.go16
1 files changed, 10 insertions, 6 deletions
diff --git a/internal/i18n/el.go b/internal/i18n/el.go
index f97ac3f..f1be9d4 100644
--- a/internal/i18n/el.go
+++ b/internal/i18n/el.go
@@ -270,12 +270,16 @@ var el = map[string]string{
"Wrong username or password.": "Λάθος όνομα χρήστη ή κωδικός.",
// ---- layout ----
- "Header": "Κεφαλίδα",
- "Footer": "Υποσέλιδο",
- "Menu": "Μενού",
- "Left": "Αριστερά",
- "Right": "Δεξιά",
- "Left column width": "Πλάτος αριστερής στήλης",
+ "Header": "Κεφαλίδα",
+ "Footer": "Υποσέλιδο",
+ "Menu": "Μενού",
+ "Left": "Αριστερά",
+ "Right": "Δεξιά",
+ "Left column width": "Πλάτος αριστερής στήλης",
+ "Page width": "Πλάτος σελίδας",
+ "Page position": "Θέση σελίδας",
+ "the screen": "η οθόνη",
+ "Leave the width blank for the whole screen. With one, the columns share that many pixels at most — and so do the header and footer when they follow the main column (below); their backgrounds always span the screen.": "Αφήστε το πλάτος κενό για ολόκληρη την οθόνη. Με πλάτος, οι στήλες μοιράζονται το πολύ τόσα εικονοστοιχεία — το ίδιο και η κεφαλίδα και το υποσέλιδο όταν ακολουθούν την κύρια στήλη (παρακάτω)· τα φόντα τους καλύπτουν πάντα την οθόνη.",
"Right column width": "Πλάτος δεξιάς στήλης",
"Between 15% and 40% each; the main content takes the rest. A column only appears when it has at least one module; without columns the posts take the whole width. On phones the columns stack: main content first, then the left and right columns, then the footer.": "Από 15% έως 40% η καθεμία· το κύριο περιεχόμενο παίρνει το υπόλοιπο. Μια στήλη εμφανίζεται μόνο όταν έχει τουλάχιστον ένα στοιχείο· χωρίς στήλες οι δημοσιεύσεις παίρνουν όλο το πλάτος. Στα κινητά οι στήλες στοιβάζονται: πρώτα το κύριο περιεχόμενο, μετά η αριστερή και η δεξιά στήλη, μετά το υποσέλιδο.",
"Always keep the columns' space, even when a column is empty or hidden": "Να κρατιέται πάντα ο χώρος των στηλών, ακόμα κι όταν μια στήλη είναι άδεια ή κρυφή",