Compare commits
157 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e62cb50ab1 | ||
|
|
cf9504bb30 | ||
|
|
36a007d2f7 | ||
|
|
f013359314 | ||
|
|
1fda560056 | ||
|
|
adc2d00552 | ||
|
|
95f4c372e3 | ||
|
|
4f39a86b0a | ||
|
|
09f1492486 | ||
|
|
163a1e2a66 | ||
|
|
f26e7ba5ff | ||
|
|
7d29e3d3dd | ||
|
|
a7bb73b158 | ||
|
|
dc371daf15 | ||
|
|
bb097294e2 | ||
|
|
cfab86c4b4 | ||
|
|
fb562dd9b8 | ||
|
|
0e63bf766e | ||
|
|
8ab966f83c | ||
|
|
86b3652471 | ||
|
|
c29acb8944 | ||
|
|
564a0ef69d | ||
|
|
781d1bc721 | ||
|
|
7cf9f8b6ec | ||
|
|
1405b078c0 | ||
|
|
95db024ab8 | ||
|
|
fe07945af7 | ||
|
|
a59b728aa6 | ||
|
|
f27cf293dd | ||
|
|
85c025f2c3 | ||
|
|
0295ba3666 | ||
|
|
485436aa67 | ||
|
|
0e0e6da677 | ||
|
|
781e96c073 | ||
|
|
fb610e1a80 | ||
|
|
13b7ece5e2 | ||
|
|
7446edba48 | ||
|
|
35eb60a27f | ||
|
|
0b1f21be31 | ||
|
|
b1e1e88af4 | ||
|
|
68d3ddb61a | ||
|
|
b6ac7d2818 | ||
|
|
da36aad520 | ||
|
|
d00f151a2e | ||
|
|
9c79c9a392 | ||
|
|
eb575519ed | ||
|
|
125bda1687 | ||
|
|
b5836d88bb | ||
|
|
8daef83846 | ||
|
|
883004b7b6 | ||
|
|
5a5e629e29 | ||
|
|
6daabaf054 | ||
|
|
f94d72f978 | ||
|
|
41abd109b6 | ||
|
|
91d2be631b | ||
|
|
56b87bb7c7 | ||
|
|
ab48e8976f | ||
|
|
fa5c3e465b | ||
|
|
474680e600 | ||
|
|
b19a3f6005 | ||
|
|
8e7065e714 | ||
|
|
2529234df9 | ||
|
|
5ad1caea68 | ||
|
|
ef1297be7d | ||
|
|
d6b59c45a6 | ||
|
|
59000d53d6 | ||
|
|
4e1d36ce60 | ||
|
|
bcb0710fde | ||
|
|
799124a58d | ||
|
|
c9a6fd2be4 | ||
|
|
9958a9cca9 | ||
|
|
6b012b7382 | ||
|
|
6921496a19 | ||
|
|
6ab6b76c8f | ||
|
|
8b9791b6b4 | ||
|
|
6f43566664 | ||
|
|
e7e02931ac | ||
|
|
210a2a8df2 | ||
|
|
41e5f292eb | ||
|
|
72f0469674 | ||
|
|
a842311304 | ||
|
|
ce84d403df | ||
|
|
ec6b9ce028 | ||
|
|
321b8bbf97 | ||
|
|
78ce5dc69d | ||
|
|
82289ece59 | ||
|
|
32ca358886 | ||
|
|
c5dac2d5e9 | ||
|
|
88b77f91fb | ||
|
|
75b645e6d4 | ||
|
|
9cfb694779 | ||
|
|
37b6f82f32 | ||
|
|
65403d934c | ||
|
|
36bae6e042 | ||
|
|
2a0f2ef4a2 | ||
|
|
54374765e7 | ||
|
|
0cb82fee0b | ||
|
|
b7e799353f | ||
|
|
c5831168af | ||
|
|
8a8e331de9 | ||
|
|
790da8deeb | ||
|
|
c7b15dc952 | ||
|
|
4f8a27a10b | ||
|
|
6014ea4889 | ||
|
|
e389869414 | ||
|
|
c9dda1c720 | ||
|
|
3b1a6af092 | ||
|
|
b7d4ea0a23 | ||
|
|
05dcdc2729 | ||
|
|
b8212e4920 | ||
|
|
3faee2402c | ||
|
|
ef1463f8c9 | ||
|
|
028961113c | ||
|
|
63a7ad74cd | ||
|
|
3f21ddb35a | ||
|
|
a8d38f6ea8 | ||
|
|
efb71654d6 | ||
|
|
8421efc3da | ||
|
|
e0f8ddec64 | ||
|
|
1f03678348 | ||
|
|
9aed9a0f03 | ||
|
|
c2110dc171 | ||
|
|
381f4e934e | ||
|
|
b710c3250b | ||
|
|
6738c49730 | ||
|
|
9318058f2b | ||
|
|
d2cd4b8335 | ||
|
|
b6d7860472 | ||
|
|
9a4a5a5799 | ||
|
|
1a8d2ea171 | ||
|
|
179def2d3e | ||
|
|
0de43b74db | ||
|
|
5dffc402c9 | ||
|
|
b6cfec60e2 | ||
|
|
efec636f2e | ||
|
|
eb6dc4235a | ||
|
|
d1b6c00a55 | ||
|
|
7af0ee5df4 | ||
|
|
1b9dad0f3f | ||
|
|
4c0df8f8b1 | ||
|
|
4629d2ae2d | ||
|
|
f4f25aab4f | ||
|
|
c6ee5408da | ||
|
|
6cc48bb991 | ||
|
|
91174081b5 | ||
|
|
a69e0df68d | ||
|
|
545059cbe5 | ||
|
|
a848d7aef8 | ||
|
|
cc3281fe2f | ||
|
|
48cc398efb | ||
|
|
4d2721f533 | ||
|
|
2923180f0c | ||
|
|
4130a77aa0 | ||
|
|
dd4ca47ac0 | ||
|
|
b63eebbefa | ||
|
|
e767f850bf | ||
|
|
374b99f77d |
1
.gitattributes
vendored
Normal file
@@ -0,0 +1 @@
|
||||
zanata.xml merge=ours
|
||||
17
.gitignore
vendored
@@ -1,10 +1,17 @@
|
||||
*.swp
|
||||
lutim.conf
|
||||
lutim.db
|
||||
*.db
|
||||
*.db-shm
|
||||
*.db-wal
|
||||
script/hypnotoad.pid
|
||||
local/*
|
||||
files/*
|
||||
templates/data.html.ep
|
||||
public/img/rezopole.png
|
||||
public/img/rezopole.xcf
|
||||
public/packed/*
|
||||
stop-upload
|
||||
themes/*
|
||||
!themes/default
|
||||
!themes/default/*
|
||||
themes/default/templates/data.html.ep
|
||||
themes/default/templates/raw.html.ep
|
||||
themes/default/templates/stats.json.ep
|
||||
tmp/*
|
||||
.zanata-cache/*
|
||||
|
||||
121
.gitlab-ci.yml
Normal file
@@ -0,0 +1,121 @@
|
||||
image: hatsoftwares/test-ci:latest
|
||||
stages:
|
||||
- sqlite
|
||||
- postgresql
|
||||
before_script:
|
||||
- carton install
|
||||
- rm -f *db
|
||||
sqlite1:
|
||||
stage: sqlite
|
||||
cache:
|
||||
key: "$CI_BUILD_REF_NAME"
|
||||
untracked: true
|
||||
paths:
|
||||
- local
|
||||
script:
|
||||
- make podcheck
|
||||
- MOJO_CONFIG=t/sqlite1.conf make test-sqlite
|
||||
- MOJO_CONFIG=t/sqlite1.conf make watch
|
||||
- MOJO_CONFIG=t/sqlite1.conf make cleanbdd
|
||||
- MOJO_CONFIG=t/sqlite1.conf make cleanfiles
|
||||
- MOJO_CONFIG=t/sqlite1.conf make stats
|
||||
sqlite2:
|
||||
stage: sqlite
|
||||
cache:
|
||||
key: "$CI_BUILD_REF_NAME"
|
||||
untracked: true
|
||||
paths:
|
||||
- local
|
||||
script:
|
||||
- make podcheck
|
||||
- MOJO_CONFIG=t/sqlite2.conf make minion &
|
||||
- sleep 3
|
||||
- MOJO_CONFIG=t/sqlite2.conf make test-sqlite
|
||||
- MOJO_CONFIG=t/sqlite2.conf make watch
|
||||
- MOJO_CONFIG=t/sqlite2.conf make cleanbdd
|
||||
- MOJO_CONFIG=t/sqlite2.conf make cleanfiles
|
||||
- MOJO_CONFIG=t/sqlite2.conf make stats
|
||||
sqlite3:
|
||||
stage: sqlite
|
||||
cache:
|
||||
key: "$CI_BUILD_REF_NAME"
|
||||
untracked: true
|
||||
paths:
|
||||
- local
|
||||
script:
|
||||
- make podcheck
|
||||
- service postgresql restart
|
||||
- sleep 10
|
||||
- service postgresql status
|
||||
- make create-pg-test-db
|
||||
- MOJO_CONFIG=t/sqlite3.conf make minion &
|
||||
- sleep 3
|
||||
- MOJO_CONFIG=t/sqlite3.conf make test-sqlite
|
||||
- MOJO_CONFIG=t/sqlite3.conf make watch
|
||||
- MOJO_CONFIG=t/sqlite3.conf make cleanbdd
|
||||
- MOJO_CONFIG=t/sqlite3.conf make cleanfiles
|
||||
- MOJO_CONFIG=t/sqlite3.conf make stats
|
||||
tags:
|
||||
- Debian
|
||||
- Jessie
|
||||
postgresql1:
|
||||
stage: postgresql
|
||||
cache:
|
||||
key: "$CI_BUILD_REF_NAME"
|
||||
untracked: true
|
||||
paths:
|
||||
- local
|
||||
script:
|
||||
- make podcheck
|
||||
- service postgresql restart
|
||||
- sleep 10
|
||||
- service postgresql status
|
||||
- make create-pg-test-db
|
||||
- MOJO_CONFIG=t/postgresql1.conf make test-pg
|
||||
- MOJO_CONFIG=t/postgresql1.conf make watch
|
||||
- MOJO_CONFIG=t/postgresql1.conf make cleanbdd
|
||||
- MOJO_CONFIG=t/postgresql1.conf make cleanfiles
|
||||
- MOJO_CONFIG=t/postgresql1.conf make stats
|
||||
postgresql2:
|
||||
stage: postgresql
|
||||
cache:
|
||||
key: "$CI_BUILD_REF_NAME"
|
||||
untracked: true
|
||||
paths:
|
||||
- local
|
||||
script:
|
||||
- make podcheck
|
||||
- service postgresql restart
|
||||
- sleep 10
|
||||
- service postgresql status
|
||||
- make create-pg-test-db
|
||||
- MOJO_CONFIG=t/postgresql2.conf make minion &
|
||||
- sleep 3
|
||||
- MOJO_CONFIG=t/postgresql2.conf make test-pg
|
||||
- MOJO_CONFIG=t/postgresql2.conf make watch
|
||||
- MOJO_CONFIG=t/postgresql2.conf make cleanbdd
|
||||
- MOJO_CONFIG=t/postgresql2.conf make cleanfiles
|
||||
- MOJO_CONFIG=t/postgresql2.conf make stats
|
||||
postgresql3:
|
||||
stage: postgresql
|
||||
cache:
|
||||
key: "$CI_BUILD_REF_NAME"
|
||||
untracked: true
|
||||
paths:
|
||||
- local
|
||||
script:
|
||||
- make podcheck
|
||||
- service postgresql restart
|
||||
- sleep 10
|
||||
- service postgresql status
|
||||
- make create-pg-test-db
|
||||
- MOJO_CONFIG=t/postgresql3.conf make minion &
|
||||
- sleep 3
|
||||
- MOJO_CONFIG=t/postgresql3.conf make test-pg
|
||||
- MOJO_CONFIG=t/postgresql3.conf make watch
|
||||
- MOJO_CONFIG=t/postgresql3.conf make cleanbdd
|
||||
- MOJO_CONFIG=t/postgresql3.conf make cleanfiles
|
||||
- MOJO_CONFIG=t/postgresql3.conf make stats
|
||||
tags:
|
||||
- Debian
|
||||
- Jessie
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
## Main developers
|
||||
|
||||
* Luc Didry, aka Sky (<http://www.fiat-tux.fr>), core developer, @framasky on [Twitter](https://twitter.com/framasky) and on [Diaspora*](https://framasphere.org/public/framasky)
|
||||
* Luc Didry, aka Sky (<http://www.fiat-tux.fr>), core developer, @framasky on [Mastodon](https://framapiaf.org/@framasky) and on [Diaspora*](https://framasphere.org/public/framasky)
|
||||
* Dattaz (<http://dattaz.fr>), webapp developer, [@dat_taz](https://twitter.com/dat_taz)
|
||||
|
||||
## Contributors
|
||||
@@ -13,3 +13,7 @@
|
||||
* Sandro Cazzaniga, aka Kharec (<http://sandrocazzaniga.fr>), [@Kharec](https://twitter.com/Kharec)
|
||||
* Laura Arjona Reina (<https://wiki.debian.org/LauraArjona>), spanish translation
|
||||
* Thor77 (<http://thor77.org>), german translation, among other things
|
||||
* Quentin Pagès, occitan translation
|
||||
* Alexis Clairet (<https://github.com/Turboconnard>), paste image to upload ability
|
||||
* ButterflyOfFire (<https://mastodon.tetaneutral.net/@BoF>), arabic translation
|
||||
* Alexander Sapozhnikov (<http://shoorick.ru>), russian translation
|
||||
|
||||
97
CHANGELOG
@@ -1,5 +1,100 @@
|
||||
Revision history for Lutim
|
||||
|
||||
0.10.4 2018-05-07
|
||||
- Fix bug in cache system that would allow someone to view an image with an incorrect decryption key
|
||||
|
||||
0.10.3 2018-04-26
|
||||
- Fix another bug on zip file creation
|
||||
|
||||
0.10.2 2018-04-24
|
||||
- Fix bug on zip file creation
|
||||
|
||||
0.10.1 2018-04-15
|
||||
- Fix bug on theme creation (#73)
|
||||
|
||||
0.10.0 2018-04-07
|
||||
- PostgreSQL performance improvments
|
||||
- Move some tasks to recurring instead of being in after_dispatch hook
|
||||
- Built-in image cache system \o/
|
||||
- Disable logs option
|
||||
- Disable images' counter option
|
||||
|
||||
0.9.6 2018-03-12
|
||||
- Update translations
|
||||
|
||||
0.9.5 2018-03-11
|
||||
- Add russian translation, thanks to Alexander Sapozhnikov
|
||||
|
||||
0.9.4 2018-03-11
|
||||
- Replace Twitter account URL with Mastodon one
|
||||
|
||||
0.9.3 2018-03-11
|
||||
- Use woff2 format for HennyPenny font
|
||||
|
||||
0.9.2 2018-03-09
|
||||
- Fix langage drop-down
|
||||
- Allow to use HTML in broadcast message
|
||||
- Remove old targets from Makefile
|
||||
|
||||
0.9.1 2018-03-09
|
||||
- Fix default setting bug (db_path)
|
||||
|
||||
0.9.0 2018-03-09
|
||||
- Added partial arabic translation (thx to ButterflyOfFire)
|
||||
- Default theme is now non-fluid (ie don't take all the width of the screen)
|
||||
- Use Photoswipe for the gallery instead of Unite gallery
|
||||
- Use Zanata for translations (https://trad.framasoft.org)
|
||||
- Add an option to personnalize proposed retention delays
|
||||
- Use random Initialization Vector for encryption
|
||||
- Use Mojo::SQLite instead of ORLite
|
||||
- Fix various bugs
|
||||
|
||||
0.8.8 2018-02-07
|
||||
- Fix security issues, thanks to SecuNinja
|
||||
|
||||
0.8.7 2017-12-22
|
||||
- Fix bug if dbtype not configured in lutim.conf
|
||||
|
||||
0.8.6 2017-11-18
|
||||
- Fix bug resulting in no EXIF tags deletion
|
||||
|
||||
0.8.5 2017-07-09
|
||||
- Fix Henny Penny font path in css
|
||||
|
||||
0.8.4 2017-06-24
|
||||
- Mitigate a bug using the same empty record twice
|
||||
|
||||
0.8.3 2017-06-15
|
||||
- Fix the donuts charts in the /stats page.
|
||||
|
||||
0.8.2 2017-06-14
|
||||
- Enforce Mojolicious::Plugin::AssetPack version
|
||||
|
||||
0.8.1 2017-06-13
|
||||
- Fix #46
|
||||
|
||||
0.8 2017-06-13
|
||||
- Improve statistics page
|
||||
- Add database abstraction layer (#42)
|
||||
- Add PostgreSQL support (#42)
|
||||
- Asks for Mojolicious 7.31 minimum (to install it: `carton update`)
|
||||
- Add Liberapay and Tipeee buttons
|
||||
- Remove Flattr button
|
||||
- Handle MOJO_CONFIG env variable (#44)
|
||||
- Fix bug #39
|
||||
- Add gallery constructor to "my files" list (#33)
|
||||
- Handle too much images in zip download URL (#27)
|
||||
- LocalStorage is now updated if an image's delay is modified
|
||||
- Allow user to paste image from clipboard to upload images (#14 and !5)
|
||||
- Fix #40
|
||||
- Add stats in JSON format (GET /stats.json)
|
||||
- Add Cache-control headers for static files
|
||||
- Put almost all js/css stuff outside templates
|
||||
- Allow to use Minion to increment counter (#43)
|
||||
|
||||
0.7.1 2016-06-21
|
||||
- Fix dependency bug
|
||||
|
||||
0.7 2016-06-21
|
||||
- Use .po files for internationalization
|
||||
- Add spanish translation (thx to Laura Arjona Reina)
|
||||
@@ -10,7 +105,7 @@ Revision history for Lutim
|
||||
- Autorotate images
|
||||
- Purge images from their EXIF tags (for more privacy)
|
||||
- Provide markdown syntax at upload for using lutim's hosted images
|
||||
- Now using a wiki: makes README lighter (https://git.framasoft.org/luc/lutim/wikis/home)
|
||||
- Now using a wiki: makes README lighter (https://framagit.org/luc/lutim/wikis/home)
|
||||
- Update twitter bootstrap
|
||||
- Add "Copy to clipboard" buttons to each link
|
||||
- Add "Copy all links" button
|
||||
|
||||
65
Makefile
@@ -1,21 +1,62 @@
|
||||
EXTRACTFILES=utilities/locales_files.txt
|
||||
EN=lib/Lutim/I18N/en.po
|
||||
FR=lib/Lutim/I18N/fr.po
|
||||
DE=lib/Lutim/I18N/de.po
|
||||
ES=lib/Lutim/I18N/es.po
|
||||
XGETTEXT=carton exec local/bin/xgettext.pl
|
||||
EXTRACTDIR=-D lib -D themes/default/templates
|
||||
POT=themes/default/lib/Lutim/I18N/lutim.pot
|
||||
XGETTEXT=carton exec local/bin/xgettext.pl -u
|
||||
CARTON=carton exec
|
||||
LUTIM=script/lutim
|
||||
REAL_LUTIM=script/application
|
||||
|
||||
locales:
|
||||
$(XGETTEXT) -W -f $(EXTRACTFILES) -o $(EN) 2>/dev/null
|
||||
$(XGETTEXT) -W -f $(EXTRACTFILES) -o $(FR) 2>/dev/null
|
||||
$(XGETTEXT) -W -f $(EXTRACTFILES) -o $(DE) 2>/dev/null
|
||||
$(XGETTEXT) -W -f $(EXTRACTFILES) -o $(ES) 2>/dev/null
|
||||
$(XGETTEXT) $(EXTRACTDIR) -o $(POT) 2>/dev/null
|
||||
|
||||
push-locales: locales
|
||||
zanata-cli -q -B push
|
||||
|
||||
pull-locales:
|
||||
zanata-cli -q -B pull
|
||||
|
||||
stats-locales:
|
||||
zanata-cli -q stats
|
||||
|
||||
podcheck:
|
||||
podchecker lib/Lutim/DB/Image.pm
|
||||
|
||||
test-sqlite:
|
||||
$(CARTON) $(REAL_LUTIM) test
|
||||
|
||||
test-pg:
|
||||
$(CARTON) $(REAL_LUTIM) test
|
||||
|
||||
test: podcheck test-sqlite test-pg
|
||||
|
||||
clean:
|
||||
rm -rf lutim.db files/
|
||||
|
||||
dev:
|
||||
rm public/packed/*
|
||||
$(CARTON) morbo $(LUTIM) --listen http://0.0.0.0:3000
|
||||
$(CARTON) morbo $(LUTIM) --listen http://0.0.0.0:3000 --watch lib/ --watch script/ --watch themes/ --watch lutim.conf
|
||||
|
||||
devlog:
|
||||
multitail log/development.log
|
||||
|
||||
prod:
|
||||
$(CARTON) hypnotoad -f $(LUTIM)
|
||||
|
||||
prodlog:
|
||||
multitail log/production.log
|
||||
|
||||
minion:
|
||||
$(CARTON) $(REAL_LUTIM) minion worker
|
||||
|
||||
create-pg-test-db:
|
||||
sudo -u postgres psql -f t/create-pg-testdb.sql
|
||||
|
||||
stats:
|
||||
$(CARTON) $(LUTIM) cron stats -m production
|
||||
|
||||
watch:
|
||||
$(CARTON) $(LUTIM) cron watch -m production
|
||||
|
||||
cleanfiles:
|
||||
$(CARTON) $(LUTIM) cron cleanfiles -m production
|
||||
|
||||
cleanbdd:
|
||||
$(CARTON) $(LUTIM) cron cleanbdd -m production
|
||||
|
||||
19
README.md
@@ -4,9 +4,9 @@
|
||||
It means Let's Upload That Image.
|
||||
|
||||
## What does it do?
|
||||
It stores images and allows you to see them, download them or share them on social networks. From version 0.5, the gif images can be displayed as animated gifs in Twitter, but you need a HTTPS server (Twitter requires that. Lutim detects if you have a HTTPS server and displays an static image twitter card if you don't);
|
||||
It stores images and allows you to see them, download them or share them on social networks. From version 0.5, the gif images can be displayed as animated gifs in Twitter, but you need an HTTPS server (Twitter requires that. Lutim detects if you have a HTTPS server and displays a static image twitter card if you don't);
|
||||
|
||||
Images are indefinitly stored unless you request that they will be deleted at first view or after 24 hours / one week / one month / one year.
|
||||
Images are indefinitely stored unless you request that they will be deleted at first view or after 24 hours / one week / one month / one year.
|
||||
|
||||
## License
|
||||
Lutim is licensed under the terms of the AGPL. See the LICENSE file.
|
||||
@@ -21,7 +21,7 @@ Lutim's logo is an adaptation of [Lutin](http://commons.wikimedia.org/wiki/File:
|
||||
|
||||
## Wiki
|
||||
|
||||
The official wiki contains all what you need to know about Lutim (installation, API, etc). Go to <https://framagit.org/luc/lutim/wikis/home> or clone it:
|
||||
The official wiki contains all you need to know about Lutim (installation, API, etc.). Go to <https://framagit.org/luc/lutim/wikis/home> or clone it:
|
||||
|
||||
```
|
||||
git clone https://framagit.org/luc/lutim.wiki.git
|
||||
@@ -31,13 +31,12 @@ git clone https://framagit.org/luc/lutim.wiki.git
|
||||
|
||||
Lutim does encryption on the server if asked to, but does not store the key.
|
||||
|
||||
The encryption is made on the server since Lutim is made to be usable even without javascript. If you want to add client-side encryption for javascript-enabled browsers, patches are welcome.
|
||||
The encryption is done on the server since Lutim is made to be usable even without javascript. If you want to add client-side encryption for javascript-enabled browsers, patches are welcome.
|
||||
|
||||
## Internationalization
|
||||
|
||||
Lutim comes with English, French and Spanish languages. It will choose the language to display from the browser's settings.
|
||||
|
||||
|
||||
## Authors
|
||||
|
||||
See [AUTHORS.md](AUTHORS.md) file.
|
||||
@@ -48,7 +47,11 @@ Please consider contributing, either by [reporting issues](https://framagit.org/
|
||||
|
||||
The details on how to contribute are on the [wiki](https://framagit.org/luc/lutim/wikis/contribute).
|
||||
|
||||
## Others projects dependancies
|
||||
## Make a donation
|
||||
|
||||
You can make a donation to the author on [Tipeee](https://www.tipeee.com/fiat-tux) or on [Liberapay](https://liberapay.com/sky/).
|
||||
|
||||
## Others projects dependencies
|
||||
|
||||
Lutim is written in Perl with the [Mojolicious](http://mojolicio.us) framework.
|
||||
|
||||
@@ -56,11 +59,11 @@ It uses:
|
||||
|
||||
* [Twitter bootstrap](http://getbootstrap.com) framework to look not too ugly
|
||||
* [JQuery](http://jquery.com) and [JQuery File Uploader](https://github.com/danielm/uploader/) (slightly modified) to add some modernity
|
||||
* [Raphaël](http://raphaeljs.com/) and [morris.js](http://www.oesmith.co.uk/morris.js/) for stats graphs
|
||||
* [Raphaël](http://raphaeljs.com/) and [morris.js](https://morrisjs.github.io/morris.js/) for stats graphs
|
||||
* [freezeframe.js](http://freezeframe.chrisantonellis.com/) (slightly modified) to be able to freeze animated gifs in twitter card
|
||||
* [Moment.js](http://momentjs.com/) for displaying real dates instead of unix timestamps.
|
||||
* [Fontello](http://fontello.com/) and the [markdown font](https://github.com/dcurtis/markdown-mark/) for the icons, licenses for the fontello icons fonts are in `public/font/LICENSE.txt`
|
||||
* [Henny Penny](https://www.google.com/fonts/specimen/Henny+Penny) font designed by Olga Umpeleva for [Brownfox](http://brownfox.org)
|
||||
* [Unite gallery](http://unitegallery.net/) for the gallery
|
||||
* [PhotoSwipe](http://photoswipe.com/) for the gallery
|
||||
* [JSZip](https://stuk.github.io/jszip/) for generating a zip containing all the images in the gallery
|
||||
* [FileSaver.js](https://github.com/eligrey/FileSaver.js/) for saving the zip
|
||||
|
||||
13
cpanfile
@@ -1,12 +1,17 @@
|
||||
requires 'Mojolicious';
|
||||
requires 'Mojolicious', '>= 7.31';
|
||||
requires 'EV';
|
||||
requires 'IO::Socket::SSL';
|
||||
requires 'Net::SSLeay', '>= 1.81';
|
||||
requires 'Data::Validate::URI';
|
||||
requires 'Net::Domain::TLD', '>= 1.73'; # Must have the last version to handle (at least) .xyz and .link
|
||||
requires 'Mojo::Pg';
|
||||
requires 'Mojo::SQLite';
|
||||
requires 'Mojolicious::Plugin::I18N';
|
||||
requires 'Mojolicious::Plugin::AssetPack';
|
||||
requires 'Mojolicious::Plugin::DebugDumperHelper';
|
||||
requires 'ORLite';
|
||||
requires 'Mojolicious::Plugin::PgURLHelper';
|
||||
requires 'Mojolicious::Plugin::StaticCache';
|
||||
requires "Minion", "== 4.06";
|
||||
requires 'Minion::Backend::SQLite', "== 0.009";
|
||||
requires 'Text::Unidecode';
|
||||
requires 'DateTime';
|
||||
requires 'Filesys::DiskUsage';
|
||||
@@ -22,3 +27,5 @@ requires 'Image::ExifTool';
|
||||
requires 'Data::Entropy';
|
||||
requires 'List::MoreUtils', '> 0.33';
|
||||
requires 'Archive::Zip';
|
||||
requires 'CHI';
|
||||
requires 'Data::Serializer';
|
||||
|
||||
2924
cpanfile.snapshot
348
lib/Lutim.pm
@@ -1,9 +1,9 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim;
|
||||
use Mojo::Base 'Mojolicious';
|
||||
use Mojo::Util qw(quote);
|
||||
use LutimModel;
|
||||
use Crypt::CBC;
|
||||
use Data::Entropy qw(entropy_source);
|
||||
use Mojo::IOLoop;
|
||||
use Lutim::DB::Image;
|
||||
use CHI;
|
||||
|
||||
use vars qw($im_loaded);
|
||||
BEGIN {
|
||||
@@ -24,9 +24,8 @@ sub startup {
|
||||
|
||||
$self->{wait_for_it} = {};
|
||||
|
||||
$self->plugin('I18N');
|
||||
$self->plugin('AssetPack');
|
||||
$self->plugin('DebugDumperHelper');
|
||||
$self->plugin('PgURLHelper');
|
||||
|
||||
my $config = $self->plugin('Config', {
|
||||
default => {
|
||||
@@ -38,241 +37,88 @@ sub startup {
|
||||
tweet_card_via => '@framasky',
|
||||
max_file_size => 10*1024*1024,
|
||||
https => 0,
|
||||
proposed_delays => '0,1,7,30,365',
|
||||
default_delay => 0,
|
||||
max_delay => 0,
|
||||
token_length => 24,
|
||||
crypto_key_length => 8,
|
||||
thumbnail_size => 100,
|
||||
theme => 'default',
|
||||
dbtype => 'sqlite',
|
||||
db_path => 'lutim.db',
|
||||
max_files_in_zip => 15,
|
||||
prefix => '/',
|
||||
minion => {
|
||||
enabled => 0,
|
||||
dbtype => 'sqlite',
|
||||
db_path => 'minion.db'
|
||||
},
|
||||
cache_max_size => 0,
|
||||
quiet_logs => 0,
|
||||
disable_img_stats => 0,
|
||||
}
|
||||
});
|
||||
|
||||
my $cache_max_size = ($config->{cache_max_size} > 0) ? 8 * 1024 * 1024 * $config->{cache_max_size} : 1;
|
||||
$self->{images_cache} = CHI->new(
|
||||
driver => 'Memory',
|
||||
global => 1,
|
||||
is_size_aware => 1,
|
||||
max_size => $cache_max_size,
|
||||
expires_in => '1 day'
|
||||
);
|
||||
|
||||
die "You need to provide a contact information in lutim.conf !" unless (defined($config->{contact}));
|
||||
|
||||
$ENV{MOJO_MAX_MESSAGE_SIZE} = $config->{max_file_size};
|
||||
|
||||
$self->secrets($config->{secrets});
|
||||
|
||||
$self->helper(
|
||||
render_file => sub {
|
||||
my $c = shift;
|
||||
my ($filename, $path, $mediatype, $dl, $expires, $nocache, $key, $thumb) = @_;
|
||||
# Themes handling
|
||||
shift @{$self->renderer->paths};
|
||||
shift @{$self->static->paths};
|
||||
if ($config->{theme} ne 'default') {
|
||||
my $theme = $self->home->rel_file('themes/'.$config->{theme});
|
||||
push @{$self->renderer->paths}, $theme.'/templates' if -d $theme.'/templates';
|
||||
push @{$self->static->paths}, $theme.'/public' if -d $theme.'/public';
|
||||
}
|
||||
push @{$self->renderer->paths}, $self->home->rel_file('themes/default/templates');
|
||||
push @{$self->static->paths}, $self->home->rel_file('themes/default/public');
|
||||
|
||||
$filename = quote($filename);
|
||||
# Internationalization
|
||||
my $lib = $self->home->rel_file('themes/'.$config->{theme}.'/lib');
|
||||
eval qq(use lib "$lib");
|
||||
$self->plugin('I18N');
|
||||
|
||||
my $asset;
|
||||
unless (-f $path && -r $path) {
|
||||
$c->app->log->error("Cannot read file [$path]. error [$!]");
|
||||
$c->flash(
|
||||
msg => $c->l('Unable to find the image: it has been deleted.')
|
||||
);
|
||||
return 500;
|
||||
# Cache static files
|
||||
$self->plugin('StaticCache');
|
||||
|
||||
# Helpers
|
||||
$self->plugin('Lutim::Plugin::Helpers');
|
||||
$self->plugin('Lutim::Plugin::Lang');
|
||||
|
||||
# Minion
|
||||
if ($config->{minion}->{enabled}) {
|
||||
$self->config->{minion}->{dbtype} = 'sqlite' unless defined $config->{minion}->{dbtype};
|
||||
if ($config->{minion}->{dbtype} eq 'sqlite') {
|
||||
$self->config('minion')->{db_path} = 'minion.db' unless defined $config->{minion}->{db_path};
|
||||
$self->plugin('Minion' => { SQLite => 'sqlite:'.$config->{minion}->{db_path} });
|
||||
} elsif ($config->{minion}->{dbtype} eq 'postgresql') {
|
||||
$self->plugin('Minion' => { Pg => $self->pg_url($config->{minion}->{'pgdb'}) });
|
||||
}
|
||||
$self->app->minion->add_task(
|
||||
accessed => sub {
|
||||
my $job = shift;
|
||||
my $short = $job->args->[0];
|
||||
my $time = $job->args->[1];
|
||||
|
||||
my $img = Lutim::DB::Image->new(app => $job->app, short => $short);
|
||||
$img->accessed($time) if $img->path;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
$mediatype =~ s/x-//;
|
||||
|
||||
my $headers = Mojo::Headers->new();
|
||||
if ($nocache) {
|
||||
$headers->add('Cache-Control' => 'no-cache, no-store, max-age=0, must-revalidate');
|
||||
} else {
|
||||
$headers->add('Expires' => $expires);
|
||||
}
|
||||
$headers->add('Content-Type' => $mediatype.';name='.$filename);
|
||||
$headers->add('Content-Disposition' => $dl.';filename='.$filename);
|
||||
$c->res->content->headers($headers);
|
||||
|
||||
if ($key) {
|
||||
$asset = $c->decrypt($key, $path);
|
||||
} else {
|
||||
$asset = Mojo::Asset::File->new(path => $path);
|
||||
}
|
||||
|
||||
if (defined $thumb && $im_loaded && $mediatype ne 'image/svg+xml' && $mediatype !~ m#image/(x-)?xcf# && $mediatype ne 'image/webp') { # ImageMagick don't work in Debian with svg (for now?)
|
||||
my $im = Image::Magick->new;
|
||||
$im->BlobToImage($asset->slurp);
|
||||
|
||||
# Create the thumbnail
|
||||
$im->Resize(geometry=>'x'.$c->config('thumbnail_size'));
|
||||
|
||||
# Replace the asset with the thumbnail
|
||||
$asset = Mojo::Asset::Memory->new->add_chunk($im->ImageToBlob());
|
||||
}
|
||||
|
||||
$c->res->content->asset($asset);
|
||||
$headers->add('Content-Length' => $asset->size);
|
||||
|
||||
return $c->rendered(200);
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
ip => sub {
|
||||
my $c = shift;
|
||||
my $ip_only = shift || 0;
|
||||
|
||||
my $proxy = $c->req->headers->header('X-Forwarded-For');
|
||||
|
||||
my $ip = ($proxy) ? $proxy : $c->tx->remote_address;
|
||||
|
||||
my $remote_port = (defined($c->req->headers->header('X-Remote-Port'))) ? $c->req->headers->header('X-Remote-Port') : $c->tx->remote_port;
|
||||
|
||||
return ($ip_only) ? $ip : "$ip remote port:$remote_port";
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
provisioning => sub {
|
||||
my $c = shift;
|
||||
|
||||
# Create some short patterns for provisioning
|
||||
if (LutimModel::Lutim->count('WHERE path IS NULL') < $c->config->{provisioning}) {
|
||||
for (my $i = 0; $i < $c->config->{provis_step}; $i++) {
|
||||
if (LutimModel->begin) {
|
||||
my $short;
|
||||
do {
|
||||
$short= $c->shortener($c->config->{length});
|
||||
} while (LutimModel::Lutim->count('WHERE short = ?', $short) || $short eq 'about' || $short eq 'stats' || $short eq 'd' || $short eq 'm' || $short eq 'gallery' || $short eq 'zip');
|
||||
|
||||
LutimModel::Lutim->create(
|
||||
short => $short,
|
||||
counter => 0,
|
||||
enabled => 1,
|
||||
delete_at_first_view => 0,
|
||||
delete_at_day => 0,
|
||||
mod_token => $c->shortener($c->config->{token_length})
|
||||
);
|
||||
LutimModel->commit;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
shortener => sub {
|
||||
my $c = shift;
|
||||
my $length = shift;
|
||||
|
||||
my @chars = ('a'..'z','A'..'Z','0'..'9');
|
||||
my $result = '';
|
||||
foreach (1..$length) {
|
||||
$result .= $chars[entropy_source->get_int(scalar(@chars))];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
stop_upload => sub {
|
||||
my $c = shift;
|
||||
|
||||
if (-f 'stop-upload' || -f 'stop-upload.manual') {
|
||||
$c->stash(
|
||||
stop_upload => $c->l('Uploading is currently disabled, please try later or contact the administrator (%1).', $config->{contact})
|
||||
);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
max_delay => sub {
|
||||
my $c = shift;
|
||||
|
||||
return $c->config->{max_delay} if ($c->config->{max_delay} >= 0);
|
||||
|
||||
warn "max_delay set to a negative value. Default to 0.";
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
default_delay => sub {
|
||||
my $c = shift;
|
||||
|
||||
return $c->config->{default_delay} if ($c->config->{default_delay} >= 0);
|
||||
|
||||
warn "default_delay set to a negative value. Default to 0.";
|
||||
return 0;
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
is_selected => sub {
|
||||
my $c = shift;
|
||||
my $num = shift;
|
||||
|
||||
return ($num == $c->default_delay) ? 'selected="selected"' : '';
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
crypt => sub {
|
||||
my $c = shift;
|
||||
my $upload = shift;
|
||||
my $filename = shift;
|
||||
|
||||
my $key = $c->shortener($c->config('crypto_key_length'));
|
||||
|
||||
my $cipher = Crypt::CBC->new(
|
||||
-key => $key,
|
||||
-cipher => 'Blowfish',
|
||||
-header => 'none',
|
||||
-iv => 'dupajasi'
|
||||
);
|
||||
|
||||
$cipher->start('encrypting');
|
||||
|
||||
my $crypt_asset = Mojo::Asset::File->new;
|
||||
|
||||
$crypt_asset->add_chunk($cipher->crypt($upload->slurp));
|
||||
$crypt_asset->add_chunk($cipher->finish);
|
||||
|
||||
my $crypt_upload = Mojo::Upload->new;
|
||||
$crypt_upload->filename($filename);
|
||||
$crypt_upload->asset($crypt_asset);
|
||||
|
||||
return ($crypt_upload, $key);
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
decrypt => sub {
|
||||
my $c = shift;
|
||||
my $key = shift;
|
||||
my $file = shift;
|
||||
|
||||
my $cipher = Crypt::CBC->new(
|
||||
-key => $key,
|
||||
-cipher => 'Blowfish',
|
||||
-header => 'none',
|
||||
-iv => 'dupajasi'
|
||||
);
|
||||
|
||||
$cipher->start('decrypting');
|
||||
|
||||
my $decrypt_asset = Mojo::Asset::File->new;
|
||||
|
||||
open(my $f, "<",$file) or die "Unable to read encrypted file: $!";
|
||||
binmode $f;
|
||||
while (read($f, my $buffer,1024)) {
|
||||
$decrypt_asset->add_chunk($cipher->crypt($buffer));
|
||||
}
|
||||
$decrypt_asset->add_chunk($cipher->finish) ;
|
||||
|
||||
return $decrypt_asset;
|
||||
}
|
||||
);
|
||||
|
||||
$self->helper(
|
||||
delete_image => sub {
|
||||
my $c = shift;
|
||||
my $image = shift;
|
||||
unlink $image->path();
|
||||
$image->update(enabled => 0);
|
||||
}
|
||||
);
|
||||
|
||||
# Hooks
|
||||
$self->hook(
|
||||
before_dispatch => sub {
|
||||
my $c = shift;
|
||||
@@ -299,24 +145,16 @@ sub startup {
|
||||
}
|
||||
);
|
||||
|
||||
$self->hook(
|
||||
after_dispatch => sub {
|
||||
my $c = shift;
|
||||
$c->provisioning();
|
||||
# Recurrent tasks
|
||||
Mojo::IOLoop->recurring(5 => sub {
|
||||
my $loop = shift;
|
||||
|
||||
# Purge expired anti-flood protection
|
||||
my $wait_for_it = $c->app->{wait_for_it};
|
||||
delete @{$wait_for_it}{grep { time - $wait_for_it->{$_} > $c->config->{anti_flood_delay} } keys %{$wait_for_it}} if (defined($wait_for_it));
|
||||
}
|
||||
);
|
||||
$self->provisioning();
|
||||
|
||||
$self->asset('index.css' => 'css/bootstrap.min.css', 'css/fontello-embedded.css', 'css/animation.css', 'css/uploader.css', 'css/hennypenny.css', 'css/lutim.css', 'css/markdown.css');
|
||||
$self->asset('stats.css' => 'css/bootstrap.min.css', 'css/fontello-embedded.css', 'css/morris-0.4.3.min.css', 'css/hennypenny.css', 'css/lutim.css');
|
||||
$self->asset('about.css' => 'css/bootstrap.min.css', 'css/fontello-embedded.css', 'css/hennypenny.css', 'css/lutim.css');
|
||||
|
||||
$self->asset('index.js' => 'js/jquery-2.1.0.min.js', 'js/bootstrap.min.js', 'js/lutim.js', 'js/dmuploader.min.js');
|
||||
$self->asset('stats.js' => 'js/jquery-2.1.0.min.js', 'js/bootstrap.min.js', 'js/lutim.js', 'js/raphael-min.js', 'js/morris-0.4.3.min.js', 'js/stats.js');
|
||||
$self->asset('freeze.js' => 'js/jquery-2.1.0.min.js', 'js/freezeframe.min.js');
|
||||
# Purge expired anti-flood protection
|
||||
my $wait_for_it = $self->{wait_for_it};
|
||||
delete @{$wait_for_it}{grep { time - $wait_for_it->{$_} > $self->config->{anti_flood_delay} } keys %{$wait_for_it}} if (defined($wait_for_it));
|
||||
});
|
||||
|
||||
$self->defaults(layout => 'default');
|
||||
|
||||
@@ -339,10 +177,32 @@ sub startup {
|
||||
to('Controller#about')->
|
||||
name('about');
|
||||
|
||||
$r->get('/infos')->
|
||||
to('Controller#infos')->
|
||||
name('infos');
|
||||
|
||||
$r->get('/stats')->
|
||||
to('Controller#stats')->
|
||||
name('stats');
|
||||
|
||||
$r->get('/lang/:l')->
|
||||
to('Controller#change_lang')->
|
||||
name('lang');
|
||||
|
||||
$r->get('/partial/:file' => sub {
|
||||
my $c = shift;
|
||||
$c->render(
|
||||
template => 'partial/'.$c->param('file'),
|
||||
format => 'js',
|
||||
layout => undef,
|
||||
d => {
|
||||
delay_0 => $c->l('no time limit'),
|
||||
delay_1 => $c->l('24 hours'),
|
||||
delay_365 => $c->l('1 year')
|
||||
}
|
||||
);
|
||||
})->name('partial');
|
||||
|
||||
$r->get('/gallery' => sub {
|
||||
shift->render(
|
||||
template => 'gallery',
|
||||
@@ -379,14 +239,24 @@ sub startup {
|
||||
to('Controller#get_counter')->
|
||||
name('counter');
|
||||
|
||||
$r->get('/about/(:short).(:f)')->
|
||||
to('Controller#about_img')->
|
||||
name('about_img');
|
||||
|
||||
$r->get('/about/:short/(:key).(:f)')->
|
||||
to('Controller#about_img')->
|
||||
name('about_img');
|
||||
|
||||
$r->get('/(:short).(:f)')->
|
||||
to('Controller#short')->
|
||||
name('short');
|
||||
|
||||
$r->get('/:short')->
|
||||
to('Controller#short');
|
||||
|
||||
$r->get('/:short/(:key).(:f)')->
|
||||
to('Controller#short');
|
||||
|
||||
$r->get('/:short/:key')->
|
||||
to('Controller#short');
|
||||
}
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::Command::cron;
|
||||
use Mojo::Base 'Mojolicious::Commands';
|
||||
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::Command::cron::cleanbdd;
|
||||
use Mojo::Base 'Mojolicious::Command';
|
||||
use LutimModel;
|
||||
use Mojo::Util qw(slurp decode);
|
||||
use Mojo::File;
|
||||
use Lutim::DB::Image;
|
||||
use FindBin qw($Bin);
|
||||
use File::Spec qw(catfile);
|
||||
|
||||
@@ -11,20 +12,26 @@ has usage => sub { shift->extract_usage };
|
||||
sub run {
|
||||
my $c = shift;
|
||||
|
||||
my $cfile = Mojo::File->new($Bin, '..' , 'lutim.conf');
|
||||
if (defined $ENV{MOJO_CONFIG}) {
|
||||
$cfile = Mojo::File->new($ENV{MOJO_CONFIG});
|
||||
unless (-e $cfile->to_abs) {
|
||||
$cfile = Mojo::File->new($Bin, '..', $ENV{MOJO_CONFIG});
|
||||
}
|
||||
}
|
||||
my $config = $c->app->plugin('Config', {
|
||||
file => File::Spec->catfile($Bin, '..' ,'lutim.conf'),
|
||||
file => $cfile,
|
||||
default => {
|
||||
keep_ip_during => 365,
|
||||
dbtype => 'sqlite',
|
||||
}
|
||||
});
|
||||
|
||||
my $separation = time() - $config->{keep_ip_during} * 86400;
|
||||
|
||||
LutimModel->do(
|
||||
'UPDATE lutim SET created_by = "" WHERE path IS NOT NULL AND created_at < ?',
|
||||
{},
|
||||
$separation
|
||||
);
|
||||
my $dbi = Lutim::DB::Image->new(app => $c->app);
|
||||
|
||||
$dbi->clean_ips_until($separation);
|
||||
}
|
||||
|
||||
=encoding utf8
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::Command::cron::cleanfiles;
|
||||
use Mojo::Base 'Mojolicious::Command';
|
||||
use LutimModel;
|
||||
use Mojo::File;
|
||||
use Lutim::DB::Image;
|
||||
use Lutim;
|
||||
use Mojo::Util qw(slurp decode);
|
||||
use FindBin qw($Bin);
|
||||
use File::Spec qw(catfile);
|
||||
|
||||
@@ -11,26 +12,40 @@ has usage => sub { shift->extract_usage };
|
||||
|
||||
sub run {
|
||||
my $c = shift;
|
||||
my $l = Lutim->new;
|
||||
|
||||
my $time = time();
|
||||
my @images = LutimModel::Lutim->select('WHERE enabled = 1 AND (delete_at_day * 86400) < (? - created_at) AND delete_at_day != 0', $time);
|
||||
|
||||
for my $image (@images) {
|
||||
$l->app->delete_image($image);
|
||||
my $cfile = Mojo::File->new($Bin, '..' , 'lutim.conf');
|
||||
if (defined $ENV{MOJO_CONFIG}) {
|
||||
$cfile = Mojo::File->new($ENV{MOJO_CONFIG});
|
||||
unless (-e $cfile->to_abs) {
|
||||
$cfile = Mojo::File->new($Bin, '..', $ENV{MOJO_CONFIG});
|
||||
}
|
||||
}
|
||||
|
||||
my $config = $c->app->plugin('Config', {
|
||||
file => File::Spec->catfile($Bin, '..' ,'lutim.conf'),
|
||||
file => $cfile,
|
||||
default => {
|
||||
dbtype => 'sqlite',
|
||||
}
|
||||
});
|
||||
|
||||
if (defined($config->{delete_no_longer_viewed_files}) && $config->{delete_no_longer_viewed_files} > 0) {
|
||||
$time = time() - $config->{delete_no_longer_viewed_files} * 86400;
|
||||
@images = LutimModel::Lutim->select('WHERE enabled = 1 AND last_access_at < ?', $time);
|
||||
my $l = Lutim->new;
|
||||
|
||||
for my $image (@images) {
|
||||
$l->app->delete_image($image);
|
||||
my $dbi = Lutim::DB::Image->new(app => $c->app);
|
||||
|
||||
$dbi->get_images_to_clean()->each(
|
||||
sub {
|
||||
my ($img, $num) = @_;
|
||||
$l->app->delete_image($img);
|
||||
}
|
||||
);
|
||||
|
||||
if (defined($config->{delete_no_longer_viewed_files}) && $config->{delete_no_longer_viewed_files} > 0) {
|
||||
my $time = time() - $config->{delete_no_longer_viewed_files} * 86400;
|
||||
$dbi->get_no_longer_viewed_files($time)->each(
|
||||
sub {
|
||||
my ($img, $num) = @_;
|
||||
$l->app->delete_image($img);
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::Command::cron::stats;
|
||||
use Mojo::Base 'Mojolicious::Command';
|
||||
use LutimModel;
|
||||
use Mojo::DOM;
|
||||
use Mojo::Util qw(slurp spurt decode);
|
||||
use Mojo::Util qw(encode);
|
||||
use Mojo::File;
|
||||
use Mojo::JSON qw(encode_json);
|
||||
use Lutim::DB::Image;
|
||||
use DateTime;
|
||||
use FindBin qw($Bin);
|
||||
use File::Spec qw(catfile);
|
||||
use POSIX;
|
||||
|
||||
has description => 'Generate statistics about Lutim.';
|
||||
has usage => sub { shift->extract_usage };
|
||||
@@ -13,14 +17,31 @@ has usage => sub { shift->extract_usage };
|
||||
sub run {
|
||||
my $c = shift;
|
||||
|
||||
my $cfile = Mojo::File->new($Bin, '..' , 'lutim.conf');
|
||||
if (defined $ENV{MOJO_CONFIG}) {
|
||||
$cfile = Mojo::File->new($ENV{MOJO_CONFIG});
|
||||
unless (-e $cfile->to_abs) {
|
||||
$cfile = Mojo::File->new($Bin, '..', $ENV{MOJO_CONFIG});
|
||||
}
|
||||
}
|
||||
my $config = $c->app->plugin('Config', {
|
||||
file => File::Spec->catfile($Bin, '..' ,'lutim.conf'),
|
||||
file => $cfile,
|
||||
default => {
|
||||
stats_day_num => 365
|
||||
theme => 'default',
|
||||
stats_day_num => 365,
|
||||
dbtype => 'sqlite'
|
||||
}
|
||||
});
|
||||
|
||||
my $text = slurp('templates/data.html.ep.template');
|
||||
my $template = 'themes/'.$config->{theme}.'/templates/data.html.ep.template';
|
||||
unless (-e $template) {
|
||||
$config->{theme} = 'default';
|
||||
$template = 'themes/'.$config->{theme}.'/templates/data.html.ep.template';
|
||||
}
|
||||
|
||||
my $stats = {};
|
||||
|
||||
my $text = Mojo::File->new($template)->slurp;
|
||||
my $dom = Mojo::DOM->new($text);
|
||||
my $thead_tr = $dom->at('table thead tr');
|
||||
my $tbody_tr = $dom->at('table tbody tr');
|
||||
@@ -29,18 +50,28 @@ sub run {
|
||||
my $separation = time() - $config->{stats_day_num} * 86400;
|
||||
|
||||
my %data;
|
||||
for my $img (LutimModel::Lutim->select('WHERE path IS NOT NULL AND created_at >= ?', $separation)) {
|
||||
my $time = DateTime->from_epoch(epoch => $img->created_at);
|
||||
my ($year, $month, $day) = ($time->year(), $time->month(), $time->day());
|
||||
my $img = Lutim::DB::Image->new(app => $c->app);
|
||||
my $sca = $img->select_created_after($separation);
|
||||
|
||||
if (defined($data{$year}->{$month}->{$day})) {
|
||||
$data{$year}->{$month}->{$day} += 1;
|
||||
} else {
|
||||
$data{$year}->{$month}->{$day} = 1;
|
||||
$stats->{total} = $img->count_not_empty;
|
||||
$stats->{average} = floor($sca->size / $config->{stats_day_num}) if $config->{stats_day_num};
|
||||
$stats->{for_days} = $config->{stats_day_num};
|
||||
|
||||
$sca->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $time = DateTime->from_epoch(epoch => $e->created_at);
|
||||
my ($year, $month, $day) = ($time->year(), $time->month(), $time->day());
|
||||
|
||||
if (defined($data{$year}->{$month}->{$day})) {
|
||||
$data{$year}->{$month}->{$day} += 1;
|
||||
} else {
|
||||
$data{$year}->{$month}->{$day} = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
my $total = LutimModel::Lutim->count('WHERE path IS NOT NULL AND created_at < ?', $separation);
|
||||
my $total = $img->count_created_before($separation);
|
||||
for my $year (sort {$a <=> $b} keys %data) {
|
||||
for my $month (sort {$a <=> $b} keys %{$data{$year}}) {
|
||||
for my $day (sort {$a <=> $b} keys %{$data{$year}->{$month}}) {
|
||||
@@ -51,7 +82,117 @@ sub run {
|
||||
}
|
||||
}
|
||||
}
|
||||
spurt $dom, 'templates/data.html.ep';
|
||||
|
||||
my $moy = $total / $config->{stats_day_num};
|
||||
|
||||
# Raw datas
|
||||
my $template2 = 'themes/'.$config->{theme}.'/templates/raw.html.ep.template';
|
||||
unless (-e $template2) {
|
||||
$config->{theme} = 'default';
|
||||
$template = 'themes/'.$config->{theme}.'/templates/raw.html.ep.template';
|
||||
}
|
||||
my $text2 = Mojo::File->new($template2)->slurp;
|
||||
my $dom2 = Mojo::DOM->new($text2);
|
||||
my $raw = $dom2->at('table tbody');
|
||||
my $raw_foot = $dom2->at('table tfoot');
|
||||
my $unlimited_enabled = $img->count_delete_at_day_endis(0, 1);
|
||||
my $unlimited_disabled = $img->count_delete_at_day_endis(0, 0);
|
||||
my $day_enabled = $img->count_delete_at_day_endis(1, 1);
|
||||
my $day_disabled = $img->count_delete_at_day_endis(1, 0);
|
||||
my $week_enabled = $img->count_delete_at_day_endis(7, 1);
|
||||
my $week_disabled = $img->count_delete_at_day_endis(7, 0);
|
||||
my $month_enabled = $img->count_delete_at_day_endis(30, 1);
|
||||
my $month_disabled = $img->count_delete_at_day_endis(30, 0);
|
||||
my $year_enabled = $img->count_delete_at_day_endis(365, 1);
|
||||
my $year_disabled = $img->count_delete_at_day_endis(365, 0);
|
||||
my $year_disabled_in_month = $img->count_delete_at_day_endis(365, 1, time - 335 * 86400);
|
||||
|
||||
$stats->{unlimited} = {
|
||||
enabled => $unlimited_enabled,
|
||||
disabled => $unlimited_disabled
|
||||
};
|
||||
$stats->{day} = {
|
||||
enabled => $day_enabled,
|
||||
disabled => $day_disabled
|
||||
};
|
||||
$stats->{week} = {
|
||||
enabled => $week_enabled,
|
||||
disabled => $week_disabled
|
||||
};
|
||||
$stats->{month} = {
|
||||
enabled => $month_enabled,
|
||||
disabled => $month_disabled
|
||||
};
|
||||
$stats->{year} = {
|
||||
enabled => $year_enabled,
|
||||
disabled => $year_disabled
|
||||
};
|
||||
|
||||
my $year_disabled_in_month_pct = ($year_enabled != 0) ? " (".sprintf('%.2f', $year_disabled_in_month/$year_enabled)."%)" : '';
|
||||
|
||||
$raw->append_content("\n<tr><td><%= \$raw[4] %></td><td>".$unlimited_enabled."</td><td>".$unlimited_disabled."</td><td>ø</td></tr>\n");
|
||||
$raw->append_content("<tr><td><%= \$raw[5] %></td><td>".$day_enabled."</td><td>".$day_disabled."</td><td>".$day_enabled." (100%)</td></tr>\n");
|
||||
$raw->append_content("<tr><td><%= \$raw[6] %></td><td>".$week_enabled."</td><td>".$week_disabled."</td><td>".$week_enabled." (100%)</td></tr>\n");
|
||||
$raw->append_content("<tr><td><%= \$raw[7] %></td><td>".$month_enabled."</td><td>".$month_disabled."</td><td>".$month_enabled." (100%)</td></tr>\n");
|
||||
$raw->append_content("<tr><td><%= \$raw[8] %></td><td>".$year_enabled."</td><td>".$year_disabled."</td><td>".$year_disabled_in_month.$year_disabled_in_month_pct."</td></tr>\n");
|
||||
|
||||
$raw_foot->append_content("\n<tr><td><%= \$raw[9] %></td><td>".($unlimited_enabled + $day_enabled + $week_enabled + $month_enabled + $year_enabled)."</td><td>".($unlimited_disabled + $day_disabled + $week_disabled + $month_disabled + $year_disabled)."</td><td>".($day_enabled + $week_enabled + $month_enabled + $year_disabled_in_month)."</td></tr>\n");
|
||||
|
||||
$dom2 = <<EOF;
|
||||
% my \@raw = (
|
||||
% l('Image delay'),
|
||||
% l('Active images'),
|
||||
% l('Deleted images'),
|
||||
% l('Deleted images in 30 days'),
|
||||
% l('no time limit'),
|
||||
% l('24 hours'),
|
||||
% l('%1 days', 7),
|
||||
% l('%1 days', 30),
|
||||
% l('1 year'),
|
||||
% l('Total')
|
||||
% );
|
||||
<script>
|
||||
var enabled_donut = {
|
||||
element: 'raw-enabled-holder',
|
||||
data: [
|
||||
{label: "<%= l('no time limit') %>", value: $unlimited_enabled},
|
||||
{label: "<%= l('24 hours') %>", value: $day_enabled},
|
||||
{label: "<%= l('%1 days', 7) %>", value: $week_enabled},
|
||||
{label: "<%= l('%1 days', 30) %>", value: $month_enabled},
|
||||
{label: "<%= l('1 year') %>", value: $year_enabled},
|
||||
],
|
||||
colors: [
|
||||
'#40b489',
|
||||
'#40b9b1',
|
||||
'#40a1be',
|
||||
'#427dc1',
|
||||
'#455ac3',
|
||||
]
|
||||
};
|
||||
var disabled_donut = {
|
||||
element: 'raw-disabled-holder',
|
||||
data: [
|
||||
{label: "<%= l('no time limit') %>", value: $unlimited_disabled},
|
||||
{label: "<%= l('24 hours') %>", value: $day_disabled},
|
||||
{label: "<%= l('%1 days', 7) %>", value: $week_disabled},
|
||||
{label: "<%= l('%1 days', 30) %>", value: $month_disabled},
|
||||
{label: "<%= l('1 year') %>", value: $year_disabled},
|
||||
],
|
||||
colors: [
|
||||
'#40b489',
|
||||
'#40b9b1',
|
||||
'#40a1be',
|
||||
'#427dc1',
|
||||
'#455ac3',
|
||||
]
|
||||
};
|
||||
</script>
|
||||
$dom2
|
||||
EOF
|
||||
|
||||
Mojo::File->new('themes/'.$config->{theme}.'/templates/stats.json.ep')->spurt(encode_json($stats));
|
||||
Mojo::File->new('themes/'.$config->{theme}.'/templates/data.html.ep')->spurt($dom);
|
||||
Mojo::File->new('themes/'.$config->{theme}.'/templates/raw.html.ep')->spurt(encode('UTF-8', $dom2));
|
||||
}
|
||||
|
||||
=encoding utf8
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::Command::cron::watch;
|
||||
use Mojo::Base 'Mojolicious::Command';
|
||||
use Mojo::Util qw(slurp decode);
|
||||
use Filesys::DiskUsage qw/du/;
|
||||
use LutimModel;
|
||||
use Lutim::DB::Image;
|
||||
use Lutim;
|
||||
use Mojo::File;
|
||||
use Switch;
|
||||
use FindBin qw($Bin);
|
||||
use File::Spec qw(catfile);
|
||||
@@ -13,10 +15,18 @@ has usage => sub { shift->extract_usage };
|
||||
sub run {
|
||||
my $c = shift;
|
||||
|
||||
my $cfile = Mojo::File->new($Bin, '..' , 'lutim.conf');
|
||||
if (defined $ENV{MOJO_CONFIG}) {
|
||||
$cfile = Mojo::File->new($ENV{MOJO_CONFIG});
|
||||
unless (-e $cfile->to_abs) {
|
||||
$cfile = Mojo::File->new($Bin, '..', $ENV{MOJO_CONFIG});
|
||||
}
|
||||
}
|
||||
my $config = $c->app->plugin('Config', {
|
||||
file => File::Spec->catfile($Bin, '..' ,'lutim.conf'),
|
||||
file => $cfile,
|
||||
default => {
|
||||
policy_when_full => 'warn'
|
||||
policy_when_full => 'warn',
|
||||
dbtype => 'sqlite',
|
||||
}
|
||||
});
|
||||
|
||||
@@ -36,11 +46,15 @@ sub run {
|
||||
}
|
||||
case 'delete' {
|
||||
say '[Lutim cron job watch] Older files are being deleted';
|
||||
my $dbi = Lutim::DB::Image->new(app => $c->app);
|
||||
my $l = Lutim->new;
|
||||
do {
|
||||
for my $img (LutimModel::Lutim->select('WHERE path IS NOT NULL AND enabled = 1 ORDER BY created_at ASC LIMIT 50')) {
|
||||
unlink $img->path() or warn "Could not unlink ".$img->path.": $!";
|
||||
$img->update(enabled => 0);
|
||||
}
|
||||
$dbi->get_50_oldest()->each(
|
||||
sub {
|
||||
my ($img, $num) = @_;
|
||||
$l->app->delete_image($img);
|
||||
}
|
||||
);
|
||||
} while (du(qw/files/) > $config->{max_total_size});
|
||||
}
|
||||
else {
|
||||
|
||||
124
lib/Lutim/Command/theme.pm
Normal file
@@ -0,0 +1,124 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::Command::theme;
|
||||
use Mojo::Base 'Mojolicious::Commands';
|
||||
use FindBin qw($Bin);
|
||||
use File::Spec qw(catfile cat dir);
|
||||
use File::Path qw(make_path);
|
||||
|
||||
has description => 'Create new theme skeleton.';
|
||||
has usage => sub { shift->extract_usage };
|
||||
has message => sub { shift->extract_usage . "\nCreate new theme skeleton:\n" };
|
||||
has namespaces => sub { ['Lutim::Command::theme'] };
|
||||
|
||||
sub run {
|
||||
my $c = shift;
|
||||
my $name = shift;
|
||||
|
||||
unless (defined $name) {
|
||||
say $c->extract_usage;
|
||||
exit 1;
|
||||
}
|
||||
|
||||
my $home = File::Spec->catdir($Bin, '..', 'themes', $name);
|
||||
|
||||
unless (-d $home) {
|
||||
|
||||
# Create skeleton
|
||||
mkdir $home;
|
||||
mkdir File::Spec->catdir($home, 'public');
|
||||
make_path(File::Spec->catdir($home, 'templates', 'layouts'));
|
||||
make_path(File::Spec->catdir($home, 'lib', 'Lutim', 'I18N'));
|
||||
|
||||
my $i18n = <<EOF;
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::I18N;
|
||||
|
||||
use base 'Locale::Maketext';
|
||||
use File::Basename qw/dirname/;
|
||||
use Locale::Maketext::Lexicon {
|
||||
_auto => 1,
|
||||
_decode => 1,
|
||||
_style => 'gettext',
|
||||
'*' => [
|
||||
Gettext => dirname(__FILE__) . '/I18N/*.po',
|
||||
Gettext => \$app_dir . 'themes/default/lib/Lutim/I18N/*.po',
|
||||
]
|
||||
};
|
||||
|
||||
use vars qw(\$app_dir);
|
||||
BEGIN {
|
||||
use Cwd;
|
||||
my \$app_dir = getcwd;
|
||||
}
|
||||
|
||||
1;
|
||||
EOF
|
||||
|
||||
open my $f, '>', File::Spec->catfile($home, 'lib', 'Lutim', 'I18N.pm') or die "Unable to open $home/lib/Lutim/I18N.pm: $!";
|
||||
print $f $i18n;
|
||||
close $f;
|
||||
|
||||
my $makefile = <<EOF;
|
||||
EN=lib/Lutim/I18N/en.po
|
||||
FR=lib/Lutim/I18N/fr.po
|
||||
DE=lib/Lutim/I18N/de.po
|
||||
ES=lib/Lutim/I18N/es.po
|
||||
OC=lib/Lutim/I18N/oc.po
|
||||
AR=lib/Lutim/I18N/ar.po
|
||||
SEDOPTS=-e "s\@SOME DESCRIPTIVE TITLE\@Lutim language file\@" \\
|
||||
-e "s\@YEAR THE PACKAGE'S COPYRIGHT HOLDER\@2015 Luc Didry\@" \\
|
||||
-e "s\@CHARSET\@utf8\@" \\
|
||||
-e "s\@the PACKAGE package\@the Lutim package\@" \\
|
||||
-e '/^\\#\\. (/{N;/\\n\\#\\. (/{N;/\\n.*\\.\\.\\/default\\//{s/\\#\\..*\\n.*\\#\\./\\#. (/g}}}' \\
|
||||
-e '/^\\#\\. (/{N;/\\n.*\\.\\.\\/default\\//{s/\\n/ /}}'
|
||||
SEDOPTS2=-e '/^\\#.*\\.\\.\\/default\\//,+3d'
|
||||
XGETTEXT=carton exec ../../local/bin/xgettext.pl
|
||||
CARTON=carton exec
|
||||
|
||||
locales:
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(EN) 2>/dev/null
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(FR) 2>/dev/null
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(DE) 2>/dev/null
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(ES) 2>/dev/null
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(OC) 2>/dev/null
|
||||
\$(XGETTEXT) -D templates -D ../default/templates -o \$(AR) 2>/dev/null
|
||||
sed \$(SEDOPTS) -i \$(EN)
|
||||
sed \$(SEDOPTS2) -i \$(EN)
|
||||
sed \$(SEDOPTS) -i \$(FR)
|
||||
sed \$(SEDOPTS2) -i \$(FR)
|
||||
sed \$(SEDOPTS) -i \$(DE)
|
||||
sed \$(SEDOPTS2) -i \$(DE)
|
||||
sed \$(SEDOPTS) -i \$(ES)
|
||||
sed \$(SEDOPTS2) -i \$(ES)
|
||||
sed \$(SEDOPTS) -i \$(OC)
|
||||
sed \$(SEDOPTS) -i \$(OC)
|
||||
sed \$(SEDOPTS2) -i \$(AR)
|
||||
sed \$(SEDOPTS2) -i \$(AR)
|
||||
EOF
|
||||
|
||||
open $f, '>', File::Spec->catfile($home, 'Makefile') or die "Unable to open $home/Makefile: $!";
|
||||
print $f $makefile;
|
||||
close $f;
|
||||
open $f, '>', File::Spec->catfile($home, '.gitignore') or die "Unable to open $home/.gitignore: $!";
|
||||
print $f "public/packed/\ntemplates/data.html.ep";
|
||||
close $f;
|
||||
} else {
|
||||
say "$name theme already exists. Aborting.";
|
||||
exit 1;
|
||||
}
|
||||
}
|
||||
|
||||
=encoding utf8
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Lutim::Command::theme - Create new theme skeleton.
|
||||
|
||||
=head1 SYNOPSIS
|
||||
|
||||
Usage: script/lutim theme THEME_NAME
|
||||
|
||||
Your new theme will be available in the themes directory.
|
||||
=cut
|
||||
|
||||
1;
|
||||
@@ -1,9 +1,10 @@
|
||||
# vim:set sw=4 ts=4 sts=4 expandtab:
|
||||
package Lutim::Controller;
|
||||
use Mojo::Base 'Mojolicious::Controller';
|
||||
use Mojo::Util qw(url_unescape b64_encode);
|
||||
use Mojo::Util qw(url_escape url_unescape b64_encode encode);
|
||||
use Mojo::Asset::Memory;
|
||||
use Mojo::JSON qw(true false);
|
||||
use Lutim::DB::Image;
|
||||
use DateTime;
|
||||
use Digest::file qw(digest_file_hex);
|
||||
use Text::Unidecode;
|
||||
@@ -35,7 +36,7 @@ sub home {
|
||||
|
||||
$c->on(finish => sub {
|
||||
my $c = shift;
|
||||
$c->app->log->info('[HIT] someone visited site index');
|
||||
$c->app->log->info('[HIT] someone visited site index') unless $c->config('quiet_logs');
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -44,13 +45,70 @@ sub about {
|
||||
shift->render(template => 'about');
|
||||
}
|
||||
|
||||
sub change_lang {
|
||||
my $c = shift;
|
||||
my $l = $c->param('l');
|
||||
|
||||
$c->cookie(lutim_lang => $l, { path => $c->config('prefix') });
|
||||
|
||||
if ($c->req->headers->referrer) {
|
||||
return $c->redirect_to($c->req->headers->referrer);
|
||||
} else {
|
||||
return $c->redirect_to('/');
|
||||
}
|
||||
}
|
||||
|
||||
sub stats {
|
||||
shift->render(
|
||||
my $c = shift;
|
||||
|
||||
my $img = Lutim::DB::Image->new(app => $c);
|
||||
$c->render(
|
||||
template => 'stats',
|
||||
total => LutimModel::Lutim->count('WHERE path IS NOT NULL')
|
||||
total => $img->count_not_empty
|
||||
);
|
||||
}
|
||||
|
||||
sub infos {
|
||||
my $c = shift;
|
||||
|
||||
$c->render(
|
||||
json => {
|
||||
broadcast_message => $c->config('broadcast_message'),
|
||||
image_magick => ($im_loaded) ? true : false,
|
||||
contact => $c->config('contact'),
|
||||
max_file_size => $c->config('max_file_size'),
|
||||
default_delay => $c->config('default_delay'),
|
||||
max_delay => $c->config('max_delay'),
|
||||
always_encrypt => ($c->config('always_encrypt')) ? true : false,
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
sub about_img {
|
||||
my $c = shift;
|
||||
my $short = $c->param('short');
|
||||
|
||||
my $image = Lutim::DB::Image->new(app => $c->app, short => $short);
|
||||
if ($image->enabled && $image->path) {
|
||||
return $c->render(
|
||||
json => {
|
||||
success => true,
|
||||
data => {
|
||||
width => $image->width,
|
||||
height => $image->height,
|
||||
}
|
||||
}
|
||||
);
|
||||
} else {
|
||||
return $c->render(
|
||||
json => {
|
||||
success => false,
|
||||
msg => $c->l('Unable to find the image %1.', $short)
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
sub webapp {
|
||||
my $c = shift;
|
||||
|
||||
@@ -69,13 +127,13 @@ sub get_counter {
|
||||
my $short = $c->param('short');
|
||||
my $token = $c->param('token');
|
||||
|
||||
my @images = LutimModel::Lutim->select('WHERE short = ? AND path IS NOT NULL AND mod_token = ?', ($short, $token));
|
||||
if (scalar(@images)) {
|
||||
my $img = Lutim::DB::Image->new(app => $c->app, short => $short);
|
||||
if (defined($img->mod_token) && $img->mod_token eq $token) {
|
||||
return $c->render(
|
||||
json => {
|
||||
success => true,
|
||||
counter => $images[0]->counter,
|
||||
enabled => ($images[0]->enabled) ? true : false
|
||||
counter => $img->counter,
|
||||
enabled => ($img->enabled) ? true : false
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -93,19 +151,18 @@ sub modify {
|
||||
my $token = $c->param('token');
|
||||
my $url = $c->param('url');
|
||||
|
||||
my @images = LutimModel::Lutim->select('WHERE short = ? AND path IS NOT NULL', $short);
|
||||
if (scalar(@images)) {
|
||||
my $image = $images[0];
|
||||
my $image = Lutim::DB::Image->new(app => $c->app, short => $short);
|
||||
if ($image->path) {
|
||||
my $msg;
|
||||
if ($image->mod_token() ne $token || $token eq '') {
|
||||
if ($image->mod_token ne $token || $token eq '') {
|
||||
$msg = $c->l('The delete token is invalid.');
|
||||
} else {
|
||||
$c->app->log->info('[MODIFICATION] someone modify '.$image->filename.' with token method (path: '.$image->path.')');
|
||||
$c->app->log->info('[MODIFICATION] someone modify '.$image->filename.' with token method (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
$image->delete_at_day(($c->param('delete-day') && ($c->param('delete-day') <= $c->max_delay || $c->max_delay == 0)) ? $c->param('delete-day') : $c->max_delay);
|
||||
$image->delete_at_first_view(($c->param('first-view')) ? 1 : 0);
|
||||
$image->write;
|
||||
|
||||
$image->update(
|
||||
delete_at_day => ($c->param('delete-day') && ($c->param('delete-day') <= $c->max_delay || $c->max_delay == 0)) ? $c->param('delete-day') : $c->max_delay,
|
||||
delete_at_first_view => ($c->param('first-view')) ? 1 : 0,
|
||||
);
|
||||
$msg = $c->l('The image\'s delay has been successfully modified');
|
||||
if (defined($c->param('format')) && $c->param('format') eq 'json') {
|
||||
return $c->render(
|
||||
@@ -137,7 +194,7 @@ sub modify {
|
||||
return $c->redirect_to('/');
|
||||
}
|
||||
} else {
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to modify '.$short.' but it does\'nt exist.');
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to modify '.$short.' but it does\'nt exist.') unless $c->config('quiet_logs');
|
||||
|
||||
# Image never existed
|
||||
my $msg = $c->l('Unable to find the image %1.', $short);
|
||||
@@ -162,16 +219,15 @@ sub delete {
|
||||
my $short = $c->param('short');
|
||||
my $token = $c->param('token');
|
||||
|
||||
my @images = LutimModel::Lutim->select('WHERE short = ? AND path IS NOT NULL', $short);
|
||||
if (scalar(@images)) {
|
||||
my $image = $images[0];
|
||||
my $image = Lutim::DB::Image->new(app => $c->app, short => $short);
|
||||
if ($image->path) {
|
||||
my $msg;
|
||||
if ($image->mod_token() ne $token || $token eq '') {
|
||||
if ($image->mod_token ne $token || $token eq '') {
|
||||
$msg = $c->l('The delete token is invalid.');
|
||||
} elsif ($image->enabled() == 0) {
|
||||
$msg = $c->l('The image %1 has already been deleted.', $image->filename);
|
||||
} else {
|
||||
$c->app->log->info('[DELETION] someone made '.$image->filename.' removed with token method (path: '.$image->path.')');
|
||||
$c->app->log->info('[DELETION] someone made '.$image->filename.' removed with token method (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
$c->delete_image($image);
|
||||
return $c->respond_to(
|
||||
@@ -205,7 +261,7 @@ sub delete {
|
||||
}
|
||||
);
|
||||
} else {
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to delete '.$short.' but it does\'nt exist.');
|
||||
$c->app->log->info('[UNSUCCESSFUL] someone tried to delete '.$short.' but it does\'nt exist.') unless $c->config('quiet_logs');
|
||||
|
||||
# Image never existed
|
||||
return $c->respond_to(
|
||||
@@ -216,7 +272,7 @@ sub delete {
|
||||
}
|
||||
},
|
||||
any => sub {
|
||||
shift->render_not_found;
|
||||
$c->helpers->reply->not_found;
|
||||
}
|
||||
);
|
||||
}
|
||||
@@ -333,41 +389,41 @@ sub add {
|
||||
return $c->redirect_to('/');
|
||||
}
|
||||
}
|
||||
if(LutimModel->begin) {
|
||||
my @records = LutimModel::Lutim->select('WHERE path IS NULL LIMIT 1');
|
||||
if (scalar(@records)) {
|
||||
# Save file and create record
|
||||
my $filename = unidecode($upload->filename);
|
||||
my $ext = ($filename =~ m/([^.]+)$/)[0];
|
||||
my $path = 'files/'.$records[0]->short.'.'.$ext;
|
||||
my $record = Lutim::DB::Image->new(app => $c->app)->select_empty;
|
||||
if ($record->short) {
|
||||
# Save file and create record
|
||||
my $filename = unidecode($upload->filename);
|
||||
my $ext = ($filename =~ m/([^.]+)$/)[0];
|
||||
my $path = 'files/'.$record->short.'.'.$ext;
|
||||
|
||||
my ($width, $height);
|
||||
if ($im_loaded && $mediatype ne 'image/svg+xml' && $mediatype !~ m#image/(x-)?xcf# && $mediatype ne 'image/webp') { # ImageMagick don't work in Debian with svg (for now?)
|
||||
my $im = Image::Magick->new;
|
||||
$im->BlobToImage($upload->slurp);
|
||||
my ($width, $height);
|
||||
if ($im_loaded && $mediatype ne 'image/svg+xml' && $mediatype !~ m#image/(x-)?xcf# && $mediatype ne 'image/webp') { # ImageMagick don't work in Debian with svg (for now?)
|
||||
my $im = Image::Magick->new;
|
||||
$im->BlobToImage($upload->slurp);
|
||||
|
||||
# Automatic rotation from EXIF tag
|
||||
$im->AutoOrient();
|
||||
# Automatic rotation from EXIF tag
|
||||
$im->AutoOrient();
|
||||
|
||||
# Update the uploaded file with it's auto-rotated clone
|
||||
my $asset = Mojo::Asset::Memory->new->add_chunk($im->ImageToBlob());
|
||||
$upload->asset($asset);
|
||||
# Update the uploaded file with it's auto-rotated clone
|
||||
my $asset = Mojo::Asset::Memory->new->add_chunk($im->ImageToBlob());
|
||||
$upload->asset($asset);
|
||||
|
||||
# Create the thumbnail
|
||||
$width = $im->Get('width');
|
||||
$height = $im->Get('height');
|
||||
$im->Resize(geometry=>'x85');
|
||||
|
||||
$thumb = 'data:'.$mediatype.';base64,';
|
||||
if ($mediatype eq 'image/gif') {
|
||||
$thumb .= b64_encode $im->[0]->ImageToBlob();
|
||||
} else {
|
||||
$thumb .= b64_encode $im->ImageToBlob();
|
||||
}
|
||||
# Create the thumbnail
|
||||
$width = $im->Get('width');
|
||||
$height = $im->Get('height');
|
||||
$im->Resize(geometry=>'x85');
|
||||
|
||||
$thumb = 'data:'.$mediatype.';base64,';
|
||||
if ($mediatype eq 'image/gif') {
|
||||
$thumb .= b64_encode $im->[0]->ImageToBlob();
|
||||
} else {
|
||||
$thumb .= b64_encode $im->ImageToBlob();
|
||||
}
|
||||
|
||||
unless ((defined($keep_exif) && $keep_exif) || $mediatype eq 'image/svg+xml' || $mediatype !~ m#image/(x-)?xcf# || $mediatype ne 'image/webp') {
|
||||
}
|
||||
|
||||
unless (defined($keep_exif) && $keep_exif) {
|
||||
if ($mediatype ne 'image/svg+xml' && $mediatype !~ m#image/(x-)?xcf# && $mediatype ne 'image/webp') {
|
||||
# Remove the EXIF tags
|
||||
my $data = new IO::Scalar \$upload->slurp();
|
||||
my $et = new Image::ExifTool;
|
||||
@@ -386,49 +442,46 @@ sub add {
|
||||
$data = Mojo::Asset::Memory->new->add_chunk($temp);
|
||||
$upload->asset($data);
|
||||
}
|
||||
|
||||
my $key;
|
||||
if ($c->param('crypt') || $c->config->{always_encrypt}) {
|
||||
($upload, $key) = $c->crypt($upload, $filename);
|
||||
}
|
||||
$upload->move_to($path);
|
||||
|
||||
$records[0]->update(
|
||||
path => $path,
|
||||
filename => $filename,
|
||||
mediatype => $mediatype,
|
||||
footprint => digest_file_hex($path, 'SHA-512'),
|
||||
enabled => 1,
|
||||
delete_at_day => ($c->param('delete-day') && ($c->param('delete-day') <= $c->max_delay || $c->max_delay == 0)) ? $c->param('delete-day') : $c->max_delay,
|
||||
delete_at_first_view => ($c->param('first-view')) ? 1 : 0,
|
||||
created_at => time(),
|
||||
created_by => $ip,
|
||||
width => $width,
|
||||
height => $height
|
||||
);
|
||||
|
||||
# Log image creation
|
||||
$c->app->log->info('[CREATION] '.$ip.' pushed '.$filename.' (path: '.$path.')');
|
||||
|
||||
# Give url to user
|
||||
$short = $records[0]->short;
|
||||
$real_short = $short;
|
||||
if (!defined($records[0]->mod_token)) {
|
||||
$records[0]->update(
|
||||
mod_token => $c->shortener($c->config->{token_length})
|
||||
);
|
||||
}
|
||||
$token = $records[0]->mod_token;
|
||||
$short .= '/'.$key if (defined($key));
|
||||
|
||||
$limit = $records[0]->delete_at_day;
|
||||
$created = $records[0]->created_at;
|
||||
} else {
|
||||
# Houston, we have a problem
|
||||
$msg = $c->l('There is no more available URL. Retry or contact the administrator. %1', $c->config->{contact});
|
||||
}
|
||||
|
||||
my ($key, $iv);
|
||||
if ($c->param('crypt') || $c->config('always_encrypt')) {
|
||||
($upload, $key, $iv) = $c->crypt($upload, $filename);
|
||||
}
|
||||
$upload->move_to($path);
|
||||
|
||||
$record->path($path)
|
||||
->filename($filename)
|
||||
->mediatype($mediatype)
|
||||
->footprint(digest_file_hex($path, 'SHA-512'))
|
||||
->enabled(1)
|
||||
->delete_at_day(($c->param('delete-day') && ($c->param('delete-day') <= $c->max_delay || $c->max_delay == 0)) ? $c->param('delete-day') : $c->max_delay)
|
||||
->delete_at_first_view(($c->param('first-view'))? 1 : 0)
|
||||
->created_at(time())
|
||||
->created_by($ip)
|
||||
->width($width)
|
||||
->height($height)
|
||||
->iv($iv)
|
||||
->write;
|
||||
|
||||
# Log image creation
|
||||
$c->app->log->info('[CREATION] '.$ip.' pushed '.$filename.' (path: '.$path.')') unless $c->config('quiet_logs');
|
||||
|
||||
# Give url to user
|
||||
$short = $record->short;
|
||||
$real_short = $short;
|
||||
if (!defined($record->mod_token)) {
|
||||
$record->mod_token($c->shortener($c->config->{token_length}))->write;
|
||||
}
|
||||
$token = $record->mod_token;
|
||||
$short .= '/'.$key if (defined($key));
|
||||
|
||||
$limit = $record->delete_at_day;
|
||||
$created = $record->created_at;
|
||||
} else {
|
||||
# Houston, we have a problem
|
||||
$msg = $c->l('There is no more available URL. Retry or contact the administrator. %1', $c->config->{contact});
|
||||
}
|
||||
LutimModel->commit;
|
||||
} else {
|
||||
$msg = $c->l('The file %1 is not an image.', $upload->filename);
|
||||
}
|
||||
@@ -500,18 +553,19 @@ sub short {
|
||||
my $short = $c->param('short');
|
||||
my $touit = $c->param('t');
|
||||
my $key = $c->param('key');
|
||||
my $thumb = $c->param('thumb');
|
||||
my $thumb;
|
||||
$thumb = '' if defined $c->param('thumb');
|
||||
$thumb = $c->param('width') if defined $c->param('width');
|
||||
my $dl = (defined($c->param('dl'))) ? 'attachment' : 'inline';
|
||||
|
||||
my @images = LutimModel::Lutim->select('WHERE short = ? AND ENABLED = 1 AND path IS NOT NULL', $short);
|
||||
|
||||
if (scalar(@images)) {
|
||||
if($images[0]->delete_at_day && $images[0]->created_at + $images[0]->delete_at_day * 86400 <= time()) {
|
||||
my $image = Lutim::DB::Image->new(app => $c->app, short => $short);
|
||||
if ($image->enabled && $image->path) {
|
||||
if($image->delete_at_day && $image->created_at + $image->delete_at_day * 86400 <= time()) {
|
||||
# Log deletion
|
||||
$c->app->log->info('[DELETION] someone tried to view '.$images[0]->filename.' but it has been removed by expiration (path: '.$images[0]->path.')');
|
||||
$c->app->log->info('[DELETION] someone tried to view '.$image->filename.' but it has been removed by expiration (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
# Delete image
|
||||
$c->delete_image($images[0]);
|
||||
$c->delete_image($image);
|
||||
|
||||
# Warn user
|
||||
$c->flash(
|
||||
@@ -521,56 +575,50 @@ sub short {
|
||||
}
|
||||
|
||||
my $test;
|
||||
if (defined($touit)) {
|
||||
if (defined($touit) && $image->mediatype !~ m/svg/) {
|
||||
$test = 1;
|
||||
my $short = $images[0]->short;
|
||||
my $short = $image->short;
|
||||
$short .= '/'.$key if (defined($key));
|
||||
my ($width, $height) = (340,340);
|
||||
if ($images[0]->mediatype eq 'image/gif') {
|
||||
if (defined($images[0]->width) && defined($images[0]->height)) {
|
||||
($width, $height) = ($images[0]->width, $images[0]->height);
|
||||
if ($image->mediatype eq 'image/gif') {
|
||||
if (defined($image->width) && defined($image->height)) {
|
||||
($width, $height) = ($image->width, $image->height);
|
||||
} elsif ($im_loaded) {
|
||||
my $upload = $c->decrypt($key, $images[0]->path);
|
||||
my $upload = $c->decrypt($key, $image->path, $image->iv);
|
||||
my $im = Image::Magick->new;
|
||||
$im->BlobToImage($upload->slurp);
|
||||
$width = $im->Get('width');
|
||||
$height = $im->Get('height');
|
||||
|
||||
$images[0]->update(
|
||||
width => $width,
|
||||
height => $height
|
||||
);
|
||||
$image->width($width)
|
||||
->height($height)
|
||||
->write;
|
||||
}
|
||||
}
|
||||
return $c->render(
|
||||
template => 'twitter',
|
||||
layout => undef,
|
||||
short => $short,
|
||||
filename => $images[0]->filename,
|
||||
mimetype => ($c->req->url->to_abs()->scheme eq 'https') ? $images[0]->mediatype : '',
|
||||
filename => $image->filename,
|
||||
mimetype => ($c->req->url->to_abs()->scheme eq 'https') ? $image->mediatype : '',
|
||||
width => $width,
|
||||
height => $height
|
||||
);
|
||||
} else {
|
||||
# Delete image if needed
|
||||
if ($images[0]->delete_at_first_view && $images[0]->counter >= 1) {
|
||||
if ($image->delete_at_first_view && $image->counter >= 1) {
|
||||
# Log deletion
|
||||
$c->app->log->info('[DELETION] someone made '.$images[0]->filename.' removed (path: '.$images[0]->path.')');
|
||||
$c->app->log->info('[DELETION] someone made '.$image->filename.' removed (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
# Delete image
|
||||
$c->delete_image($images[0]);
|
||||
$c->delete_image($image);
|
||||
|
||||
$c->flash(
|
||||
msg => $c->l('Unable to find the image: it has been deleted.')
|
||||
);
|
||||
return $c->redirect_to('/');
|
||||
} else {
|
||||
my $expires = ($images[0]->delete_at_day) ? $images[0]->delete_at_day : 360;
|
||||
my $dt = DateTime->from_epoch( epoch => $expires * 86400 + $images[0]->created_at);
|
||||
$dt->set_time_zone('GMT');
|
||||
$expires = $dt->strftime("%a, %d %b %Y %H:%M:%S GMT");
|
||||
|
||||
$test = $c->render_file($images[0]->filename, $images[0]->path, $images[0]->mediatype, $dl, $expires, $images[0]->delete_at_first_view, $key, $thumb);
|
||||
$test = $c->render_file($im_loaded, $image, $dl, $key, $thumb);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -578,40 +626,39 @@ sub short {
|
||||
# Update counter
|
||||
$c->on(finish => sub {
|
||||
# Log access
|
||||
$c->app->log->info('[VIEW] someone viewed '.$images[0]->filename.' (path: '.$images[0]->path.')');
|
||||
$c->app->log->info('[VIEW] someone viewed '.$image->filename.' (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
# Update record
|
||||
my $counter = $images[0]->counter + 1;
|
||||
$images[0]->update(counter => $counter);
|
||||
|
||||
$images[0]->update(last_access_at => time());
|
||||
unless ($c->config('disable_img_stats')) {
|
||||
if ($c->config('minion')->{enabled}) {
|
||||
$c->app->minion->enqueue(accessed => [$image->short, time]);
|
||||
} else {
|
||||
$image->accessed(time);
|
||||
}
|
||||
}
|
||||
|
||||
# Delete image if needed
|
||||
if ($images[0]->delete_at_first_view) {
|
||||
if ($image->delete_at_first_view) {
|
||||
# Log deletion
|
||||
$c->app->log->info('[DELETION] someone made '.$images[0]->filename.' removed (path: '.$images[0]->path.')');
|
||||
$c->app->log->info('[DELETION] someone made '.$image->filename.' removed (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
# Delete image
|
||||
$c->delete_image($images[0]);
|
||||
$c->delete_image($image);
|
||||
}
|
||||
});
|
||||
}
|
||||
} elsif ($image->path && !$image->enabled) {
|
||||
# Log access try
|
||||
$c->app->log->info('[NOT FOUND] someone tried to view '.$short.' but it does\'nt exist anymore.') unless $c->config('quiet_logs');
|
||||
|
||||
# Warn user
|
||||
$c->flash(
|
||||
msg => $c->l('Unable to find the image: it has been deleted.')
|
||||
);
|
||||
return $c->redirect_to('/');
|
||||
} else {
|
||||
@images = LutimModel::Lutim->select('WHERE short = ? AND ENABLED = 0 AND path IS NOT NULL', $short);
|
||||
|
||||
if (scalar(@images)) {
|
||||
# Log access try
|
||||
$c->app->log->info('[NOT FOUND] someone tried to view '.$short.' but it does\'nt exist anymore.');
|
||||
|
||||
# Warn user
|
||||
$c->flash(
|
||||
msg => $c->l('Unable to find the image: it has been deleted.')
|
||||
);
|
||||
return $c->redirect_to('/');
|
||||
} else {
|
||||
# Image never existed
|
||||
$c->render_not_found;
|
||||
}
|
||||
# Image never existed
|
||||
$c->helpers->reply->not_found;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -619,105 +666,124 @@ sub zip {
|
||||
my $c = shift;
|
||||
my $imgs = $c->every_param('i');
|
||||
|
||||
my $zip = Archive::Zip->new();
|
||||
my $img_nb = scalar(@{$imgs});
|
||||
my $max_zip = $c->config('max_files_in_zip');
|
||||
|
||||
# We HAVE to add a png file at the beginning, otherwise the $zip
|
||||
# could use the mimetype of an SVG file if it's the first file asked.
|
||||
$zip->addFile('public/img/favicon.png', 'hosted_with_lutim.png');
|
||||
if ($img_nb <= $max_zip) {
|
||||
my $zip = Archive::Zip->new();
|
||||
|
||||
$zip->addDirectory('images/');
|
||||
for my $img (@{$imgs}) {
|
||||
my ($short, $key) = split('/', $img);
|
||||
if (defined $key) {
|
||||
$key =~ s/\.[^.]*//;
|
||||
} else {
|
||||
$short =~ s/\.[^.]*//;
|
||||
}
|
||||
my @images = LutimModel::Lutim->select('WHERE short = ? AND ENABLED = 1 AND path IS NOT NULL', $short);
|
||||
# We HAVE to add a png file at the beginning, otherwise the $zip
|
||||
# could use the mimetype of an SVG file if it's the first file asked.
|
||||
$zip->addFile('themes/default/public/img/favicon.png', 'hosted_with_lutim.png');
|
||||
|
||||
if (scalar(@images)) {
|
||||
my $filename = $images[0]->filename;
|
||||
if($images[0]->delete_at_day && $images[0]->created_at + $images[0]->delete_at_day * 86400 <= time()) {
|
||||
# Log deletion
|
||||
$c->app->log->info('[DELETION] someone tried to view '.$images[0]->filename.' but it has been removed by expiration (path: '.$images[0]->path.')');
|
||||
|
||||
# Delete image
|
||||
$c->delete_image($images[0]);
|
||||
|
||||
# Warn user
|
||||
$zip->addString($c->l('Unable to find the image: it has been deleted.'), 'images/'.$filename.'.txt');
|
||||
next;
|
||||
}
|
||||
|
||||
# Delete image if needed
|
||||
if ($images[0]->delete_at_first_view && $images[0]->counter >= 1) {
|
||||
# Log deletion
|
||||
$c->app->log->info('[DELETION] someone made '.$images[0]->filename.' removed (path: '.$images[0]->path.')');
|
||||
|
||||
# Delete image
|
||||
$c->delete_image($images[0]);
|
||||
|
||||
$zip->addString($c->l('Unable to find the image: it has been deleted.'), 'images/'.$filename.'.txt');
|
||||
next;
|
||||
$zip->addDirectory('images/');
|
||||
for my $img (@{$imgs}) {
|
||||
my ($short, $key) = split('/', $img);
|
||||
if (defined $key) {
|
||||
$key =~ s/\.[^.]*//;
|
||||
} else {
|
||||
my $expires = ($images[0]->delete_at_day) ? $images[0]->delete_at_day : 360;
|
||||
my $dt = DateTime->from_epoch( epoch => $expires * 86400 + $images[0]->created_at);
|
||||
$dt->set_time_zone('GMT');
|
||||
$expires = $dt->strftime("%a, %d %b %Y %H:%M:%S GMT");
|
||||
$short =~ s/\.[^.]*//;
|
||||
}
|
||||
my $image = Lutim::DB::Image->new(app => $c->app, short => $short);
|
||||
|
||||
my $path = $images[0]->path;
|
||||
unless ( -f $path && -r $path ) {
|
||||
$c->app->log->error("Cannot read file [$path]. error [$!]");
|
||||
$zip->addString($c->l('Unable to find the image: it has been deleted.'), 'images/'.$filename.'.txt');
|
||||
if ($image->enabled && $image->path) {
|
||||
my $filename = $image->filename;
|
||||
if($image->delete_at_day && $image->created_at + $image->delete_at_day * 86400 <= time()) {
|
||||
# Log deletion
|
||||
$c->app->log->info('[DELETION] someone tried to view '.$image->filename.' but it has been removed by expiration (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
# Delete image
|
||||
$c->delete_image($image);
|
||||
|
||||
# Warn user
|
||||
$zip->addString(encode('UTF-8', $c->l('Unable to find the image: it has been deleted.')), 'images/'.$filename.'.txt');
|
||||
next;
|
||||
}
|
||||
|
||||
if ($key) {
|
||||
$zip->addString($c->decrypt($key, $path)->slurp, "images/$filename");
|
||||
# Delete image if needed
|
||||
if ($image->delete_at_first_view && $image->counter >= 1) {
|
||||
# Log deletion
|
||||
$c->app->log->info('[DELETION] someone made '.$image->filename.' removed (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
# Delete image
|
||||
$c->delete_image($image);
|
||||
|
||||
$zip->addString(encode('UTF-8', $c->l('Unable to find the image: it has been deleted.')), 'images/'.$filename.'.txt');
|
||||
next;
|
||||
} else {
|
||||
$zip->addFile($path, "images/$filename");
|
||||
my $expires = ($image->delete_at_day) ? $image->delete_at_day : 360;
|
||||
my $dt = DateTime->from_epoch( epoch => $expires * 86400 + $image->created_at);
|
||||
$dt->set_time_zone('GMT');
|
||||
$expires = $dt->strftime("%a, %d %b %Y %H:%M:%S GMT");
|
||||
|
||||
my $path = $image->path;
|
||||
unless ( -f $path && -r $path ) {
|
||||
$c->app->log->error("Cannot read file [$path]. error [$!]");
|
||||
$zip->addString(encode('UTF-8', $c->l('Unable to find the image: it has been deleted.')), 'images/'.$filename.'.txt');
|
||||
next;
|
||||
}
|
||||
|
||||
if ($key) {
|
||||
$zip->addString($c->decrypt($key, $path, $image->iv), "images/$filename");
|
||||
} else {
|
||||
$zip->addFile($path, "images/$filename");
|
||||
}
|
||||
|
||||
# Log access
|
||||
$c->app->log->info('[VIEW] someone viewed '.$image->filename.' (path: '.$image->path.')') unless $c->config('quiet_logs');
|
||||
|
||||
# Update counter and record
|
||||
unless ($c->config('disable_img_stats')) {
|
||||
if ($c->config('minion')->{enabled}) {
|
||||
$c->app->minion->enqueue(accessed => [$image->short, time]);
|
||||
} else {
|
||||
$image->accessed(time);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
# Log access
|
||||
$c->app->log->info('[VIEW] someone viewed '.$images[0]->filename.' (path: '.$images[0]->path.')');
|
||||
# Update counter
|
||||
$images[0]->update(counter => $images[0]->counter + 1);
|
||||
# Update record
|
||||
$images[0]->update(last_access_at => time());
|
||||
}
|
||||
} else {
|
||||
@images = LutimModel::Lutim->select('WHERE short = ? AND ENABLED = 0 AND path IS NOT NULL', $short);
|
||||
|
||||
if (scalar(@images)) {
|
||||
} elsif ($image->path && !$image->enabled) {
|
||||
# Log access try
|
||||
$c->app->log->info('[NOT FOUND] someone tried to view '.$short.' but it does\'nt exist anymore.');
|
||||
$c->app->log->info('[NOT FOUND] someone tried to view '.$short.' but it does\'nt exist anymore.') unless $c->config('quiet_logs');
|
||||
|
||||
# Warn user
|
||||
$zip->addString($c->l('Unable to find the image: it has been deleted.'), 'images/'.$images[0]->filename.'.txt');
|
||||
$zip->addString(encode('UTF-8', $c->l('Unable to find the image: it has been deleted.')), 'images/'.$image->filename.'.txt');
|
||||
next;
|
||||
} else {
|
||||
$zip->addString($c->l('Image not found.'), 'images/'.$short.'.txt');
|
||||
$zip->addString(encode('UTF-8', $c->l('Image not found.')), 'images/'.$short.'.txt');
|
||||
next;
|
||||
}
|
||||
}
|
||||
}
|
||||
my ($fh, $zipfile) = Archive::Zip::tempFile();
|
||||
unless ($zip->writeToFileNamed($zipfile) == AZ_OK) {
|
||||
$c->flash(
|
||||
msg => $c->l('Something went wrong when creating the zip file. Try again later or contact the administrator (%1).', $c->config('contact'))
|
||||
my ($fh, $zipfile) = Archive::Zip::tempFile();
|
||||
unless ($zip->writeToFileNamed($zipfile) == AZ_OK) {
|
||||
$c->flash(
|
||||
msg => $c->l('Something went wrong when creating the zip file. Try again later or contact the administrator (%1).', $c->config('contact'))
|
||||
);
|
||||
return $c->redirect_to('/');
|
||||
}
|
||||
$c->res->content->headers->content_type('application/zip;name=images.zip');
|
||||
$c->res->content->headers->content_disposition('attachment;filename=images.zip');;
|
||||
|
||||
my $asset = Mojo::Asset::File->new(path => $zipfile);
|
||||
$c->res->content->asset($asset);
|
||||
$c->res->content->headers->content_length($asset->size);
|
||||
|
||||
unlink $zipfile;
|
||||
|
||||
return $c->rendered(200);
|
||||
} else {
|
||||
my $i = -1;
|
||||
my @urls = ();
|
||||
my @esc_imgs = map { my $e = $_; $e = url_escape($e); $e =~ s#%2F#/#g; $e } @{$imgs};
|
||||
while (++$i < $img_nb) {
|
||||
my $stop = ($i + $max_zip - 1 < $img_nb) ? $i + $max_zip - 1 : $img_nb - 1;
|
||||
push @urls, $c->url_for('/zip')->to_abs->to_string.'?i='.join('&i=', @esc_imgs[$i..$stop]);
|
||||
$i = $stop;
|
||||
}
|
||||
$c->render(
|
||||
template => 'zip',
|
||||
urls => \@urls
|
||||
);
|
||||
return $c->redirect_to('/');
|
||||
}
|
||||
$c->res->content->headers->content_type('application/zip;name=images.zip');
|
||||
$c->res->content->headers->content_disposition('attachment;filename=images.zip');;
|
||||
|
||||
my $asset = Mojo::Asset::File->new(path => $zipfile);
|
||||
$c->res->content->asset($asset);
|
||||
$c->res->content->headers->content_length($asset->size);
|
||||
|
||||
unlink $zipfile;
|
||||
|
||||
return $c->rendered(200);
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
336
lib/Lutim/DB/Image.pm
Normal file
@@ -0,0 +1,336 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::DB::Image;
|
||||
use Mojo::Base -base;
|
||||
|
||||
has 'short';
|
||||
has 'path';
|
||||
has 'footprint';
|
||||
has 'enabled';
|
||||
has 'mediatype';
|
||||
has 'filename';
|
||||
has 'counter' => 0;
|
||||
has 'delete_at_first_view';
|
||||
has 'delete_at_day';
|
||||
has 'created_at';
|
||||
has 'created_by';
|
||||
has 'last_access_at';
|
||||
has 'mod_token';
|
||||
has 'width';
|
||||
has 'height';
|
||||
has 'iv';
|
||||
has 'app';
|
||||
|
||||
=head1 NAME
|
||||
|
||||
Lutim::DB::Image - DB abstraction layer for Lutim images
|
||||
|
||||
=head1 Contributing
|
||||
|
||||
When creating a new database accessor, make sure that it provides the following subroutines.
|
||||
After that, modify this file and modify the C<new> subroutine to allow to use your accessor.
|
||||
|
||||
Have a look at Lutim::DB::Image::SQLite's code: it's simple and may be more understandable that this doc.
|
||||
|
||||
=head1 Attributes
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<short> : random string
|
||||
|
||||
=item B<path> : string, path to the image, relative to lutim's installation directory
|
||||
|
||||
=item B<footprint> : string, sha512 checksum of the image
|
||||
|
||||
=item B<enabled> : boolean, is the image accessible?
|
||||
|
||||
=item B<mediatype> : string, mimetype of the image
|
||||
|
||||
=item B<filename> : string
|
||||
|
||||
=item B<counter> : integer
|
||||
|
||||
=item B<delete_at_first_view> : boolean
|
||||
|
||||
=item B<delete_at_day> : integer, number of days from image upload to deletion
|
||||
|
||||
=item B<created_at> : unix timestamp
|
||||
|
||||
=item B<created_by> : unix timestamp
|
||||
|
||||
=item B<last_access_at> : unix timestamp
|
||||
|
||||
=item B<mod_token> : random string
|
||||
|
||||
=item B<width> : integer
|
||||
|
||||
=item B<height> : integer
|
||||
|
||||
=item B<iv> : initialization vector for the file encryption
|
||||
|
||||
=item B<app> : a mojolicious object
|
||||
|
||||
=back
|
||||
|
||||
=head1 Sub routines
|
||||
|
||||
=head2 new
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c = Lutim::DB::Image-E<gt>new(app =E<gt> $self);>
|
||||
|
||||
=item B<Arguments> : any of the attribute above
|
||||
|
||||
=item B<Purpose> : construct a new db accessor object. If the C<short> attribute is provided, it have to load the informations from the database.
|
||||
|
||||
=item B<Returns> : the db accessor object
|
||||
|
||||
=item B<Info> : the app argument is used by Lutim::DB::Image to choose which db accessor will be used, you don't need to use it in new(), but you can use it to access helpers or configuration settings in the other subroutines
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
||||
sub new {
|
||||
my $c = shift;
|
||||
|
||||
$c = $c->SUPER::new(@_);
|
||||
|
||||
if (ref($c) eq 'Lutim::DB::Image') {
|
||||
my $dbtype = $c->app->config('dbtype');
|
||||
if ($dbtype eq 'sqlite') {
|
||||
use Lutim::DB::Image::SQLite;
|
||||
$c = Lutim::DB::Image::SQLite->new(@_);
|
||||
} elsif ($dbtype eq 'postgresql') {
|
||||
use Lutim::DB::Image::Pg;
|
||||
$c = Lutim::DB::Image::Pg->new(@_);
|
||||
}
|
||||
}
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub to_hash {
|
||||
my $c = shift;
|
||||
|
||||
return {
|
||||
short => $c->short,
|
||||
path => $c->path,
|
||||
footprint => $c->footprint,
|
||||
enabled => $c->enabled,
|
||||
mediatype => $c->mediatype,
|
||||
filename => $c->filename,
|
||||
counter => $c->counter,
|
||||
delete_at_first_view => $c->delete_at_first_view,
|
||||
delete_at_day => $c->delete_at_day,
|
||||
created_at => $c->created_at,
|
||||
created_by => $c->created_by,
|
||||
last_access_at => $c->last_access_at,
|
||||
mod_token => $c->mod_token,
|
||||
width => $c->width,
|
||||
height => $c->height,
|
||||
height => $c->iv
|
||||
};
|
||||
}
|
||||
|
||||
=head2 accessed
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>accessed($time)>
|
||||
|
||||
=item B<Arguments> : an unix timestamp
|
||||
|
||||
=item B<Purpose> : increments the counter attribute by one, set the last_access_at attribute to $time and update the database
|
||||
|
||||
=item B<Returns> : the db accessor object
|
||||
|
||||
=back
|
||||
|
||||
=head2 count_delete_at_day_endis
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>count_delete_at_day_endis($delete_at_day, $enabled[, $time])>
|
||||
|
||||
=item B<Arguments> : two mandatory parameters: one integer, the delete_at_day attribute, a boolean (0 or 1), the enabled attribute
|
||||
an optional parameter: an unix timestamp
|
||||
|
||||
=item B<Purpose> : count how many images there is with the given delete_at_day attribute, and enabled or disabled, depending on the given enabled attribute
|
||||
if the optional parameter is given, count only images according to the given mandatory parameters that were created before the timestamp
|
||||
|
||||
=item B<Returns> : integer
|
||||
|
||||
=back
|
||||
|
||||
=head2 count_created_before
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>count_created_before($time)>
|
||||
|
||||
=item B<Arguments> : an unix timestamp
|
||||
|
||||
=item B<Purpose> : count how many images have been created before the given timestamp
|
||||
|
||||
=item B<Returns> : integer
|
||||
|
||||
=back
|
||||
|
||||
=head2 select_created_after
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>select_created_after($time)>
|
||||
|
||||
=item B<Arguments> : an unix timestamp
|
||||
|
||||
=item B<Purpose> : select images created after the given timestamp
|
||||
|
||||
=item B<Returns> : a Mojo::Collection object containing the images created after the given timestamp
|
||||
|
||||
=back
|
||||
|
||||
=head2 select_empty
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>select_empty>
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : select a ready-to-use empty record
|
||||
|
||||
=item B<Returns> : a db accessor object
|
||||
|
||||
=back
|
||||
|
||||
=head2 write
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>write>
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : create or update a record in the database, with the values of the object's attributes
|
||||
|
||||
=item B<Returns> : the db accessor object
|
||||
|
||||
=back
|
||||
|
||||
=head2 count_short
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>count_short($short)>
|
||||
|
||||
=item B<Arguments> : a random string, unique image identifier in the database
|
||||
|
||||
=item B<Purpose> : checks that an identifier isn't already used
|
||||
|
||||
=item B<Returns> : integer, number of records having this identifier (should be 0 or 1)
|
||||
|
||||
=back
|
||||
|
||||
=head2 count_empty
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>count_empty>
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : counts the number of record which path is null
|
||||
|
||||
=item B<Returns> : integer
|
||||
|
||||
=back
|
||||
|
||||
=head2 count_not_empty
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>count_not_empty>
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : counts the number of record which path is not null
|
||||
|
||||
=item B<Returns> : integer
|
||||
|
||||
=back
|
||||
|
||||
=head2 clean_ips_until
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>clean_ips_until($time)>
|
||||
|
||||
=item B<Arguments> : unix timestamp
|
||||
|
||||
=item B<Purpose> : remove the image's sender information on images created before the given timestamp
|
||||
|
||||
=item B<Returns> : the db accessor object
|
||||
|
||||
=back
|
||||
|
||||
=head2 get_no_longer_viewed_files
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>get_no_longer_viewed_files($time)>
|
||||
|
||||
=item B<Arguments> : unix timestamp
|
||||
|
||||
=item B<Purpose> : get images no longer viewed after the given timestamp
|
||||
|
||||
=item B<Returns> : a Mojo::Collection object containing the no longer viewed images as Lutim::DB::Image objects
|
||||
|
||||
=back
|
||||
|
||||
=head2 get_images_to_clean
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>get_images_to_clean>
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : get images that are expired but not marked as it
|
||||
|
||||
=item B<Returns> : a Mojo::Collection object containing the images to clean as Lutim::DB::Image objects
|
||||
|
||||
=back
|
||||
|
||||
=head2 get_50_oldest
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>get_50_oldest>
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : get the 50 oldest enabled images
|
||||
|
||||
=item B<Returns> : a Mojo::Collection object containing the 50 oldest enabled images as Lutim::DB::Image objects
|
||||
|
||||
=back
|
||||
|
||||
=head2 disable
|
||||
|
||||
=over 1
|
||||
|
||||
=item B<Usage> : C<$c-E<gt>disable>
|
||||
|
||||
=item B<Arguments> : none
|
||||
|
||||
=item B<Purpose> : change the attribute C<enabled> to false and update the database record
|
||||
|
||||
=item B<Returns> : the db accessor object
|
||||
|
||||
=back
|
||||
|
||||
=cut
|
||||
|
||||
1;
|
||||
231
lib/Lutim/DB/Image/Pg.pm
Normal file
@@ -0,0 +1,231 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::DB::Image::Pg;
|
||||
use Mojo::Base 'Lutim::DB::Image';
|
||||
use Mojo::Collection 'c';
|
||||
|
||||
has 'record' => 0;
|
||||
|
||||
sub new {
|
||||
my $c = shift;
|
||||
|
||||
$c = $c->SUPER::new(@_);
|
||||
$c = $c->_slurp if ($c->short);
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub accessed {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
my $h = $c->app->pg->db->query('UPDATE lutim SET counter = counter + 1, last_access_at = ? WHERE short = ? RETURNING counter, last_access_at', $time, $c->short)->hashes->first;
|
||||
$c->counter($h->{counter});
|
||||
$c->last_access_at($h->{last_access_at});
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub count_delete_at_day_endis {
|
||||
my $c = shift;
|
||||
my $day = shift;
|
||||
my $enabled = shift;
|
||||
my $created = shift;
|
||||
|
||||
if (defined $created) {
|
||||
return $c->app->pg->db->query('SELECT count(short) FROM lutim WHERE path IS NOT NULL AND delete_at_day = ? AND enabled = ? AND created_at < ?', $day, $enabled, $created)->hashes->first->{count};
|
||||
} else {
|
||||
return $c->app->pg->db->query('SELECT count(short) FROM lutim WHERE path IS NOT NULL AND delete_at_day = ? AND enabled = ?', $day, $enabled)->hashes->first->{count};
|
||||
}
|
||||
}
|
||||
|
||||
sub count_created_before {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
return $c->app->pg->db->query('SELECT count(short) FROM lutim WHERE path IS NOT NULL AND created_at < ?', $time)->hashes->first->{count};
|
||||
}
|
||||
|
||||
sub select_created_after {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
my @images;
|
||||
|
||||
my $records = $c->app->pg->db->query('SELECT * FROM lutim WHERE path IS NOT NULL AND created_at >= ?', $time)->hashes;
|
||||
|
||||
$records->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $i = Lutim::DB::Image->new(app => $c->app);
|
||||
$i->_slurp($e);
|
||||
|
||||
push @images, $i;
|
||||
}
|
||||
);
|
||||
|
||||
return c(@images);
|
||||
}
|
||||
|
||||
sub select_empty {
|
||||
my $c = shift;
|
||||
|
||||
my $record = $c->app->pg->db->query('SELECT * FROM lutim WHERE path IS NULL')->hashes->shuffle->first;
|
||||
$c->app->pg->db->query('UPDATE lutim SET path = ? WHERE short = ?', 'used', $record->{short});
|
||||
|
||||
$c = $c->_slurp($record);
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub write {
|
||||
my $c = shift;
|
||||
|
||||
if ($c->record) {
|
||||
$c->app->pg->db->query('UPDATE lutim SET counter = ?, created_at = ?, created_by = ?, delete_at_day = ?, delete_at_first_view = ?, enabled = ?, filename = ?, footprint = ?, height = ?, last_access_at = ?, mediatype = ?, mod_token = ?, path = ?, short = ?, width = ?, iv = ? WHERE short = ?', $c->counter, $c->created_at, $c->created_by, $c->delete_at_day, $c->delete_at_first_view, $c->enabled, $c->filename, $c->footprint, $c->height, $c->last_access_at, $c->mediatype, $c->mod_token, $c->path, $c->short, $c->width, $c->iv, $c->short);
|
||||
} else {
|
||||
$c->app->pg->db->query('INSERT INTO lutim (counter, created_at, created_by, delete_at_day, delete_at_first_view, enabled, filename, footprint, height, last_access_at, mediatype, mod_token, path, short, width, iv) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', $c->counter, $c->created_at, $c->created_by, $c->delete_at_day, $c->delete_at_first_view, $c->enabled, $c->filename, $c->footprint, $c->height, $c->last_access_at, $c->mediatype, $c->mod_token, $c->path, $c->short, $c->width, $c->iv);
|
||||
$c->record(1);
|
||||
}
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub count_short {
|
||||
my $c = shift;
|
||||
my $short = shift;
|
||||
|
||||
return $c->app->pg->db->query('SELECT count(short) FROM lutim WHERE short = ?', $short)->hashes->first->{count};
|
||||
}
|
||||
|
||||
sub count_empty {
|
||||
my $c = shift;
|
||||
|
||||
return $c->app->pg->db->query('SELECT count(short) FROM lutim WHERE path IS NULL')->hashes->first->{count};
|
||||
}
|
||||
|
||||
sub count_not_empty {
|
||||
my $c = shift;
|
||||
|
||||
return $c->app->pg->db->query('SELECT count(short) FROM lutim WHERE path IS NOT NULL')->hashes->first->{count};
|
||||
}
|
||||
|
||||
sub clean_ips_until {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
$c->app->pg->db->query('UPDATE lutim SET created_by = NULL WHERE path IS NOT NULL AND created_at < ?', $time);
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub get_no_longer_viewed_files {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
my @images;
|
||||
|
||||
my $records = $c->app->pg->db->query('SELECT * FROM lutim WHERE enabled = 1 AND last_access_at < ?', $time)->{hashes};
|
||||
|
||||
$records->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $i = Lutim::DB::Image->new(app => $c->app);
|
||||
$i->record(1);
|
||||
$i->_slurp($e);
|
||||
|
||||
push @images, $i;
|
||||
}
|
||||
);
|
||||
|
||||
return c(@images);
|
||||
}
|
||||
|
||||
sub get_images_to_clean {
|
||||
my $c = shift;
|
||||
|
||||
my @images;
|
||||
|
||||
my $records = $c->app->pg->db->query('SELECT * FROM lutim WHERE enabled = 1 AND (delete_at_day * 86400) < (? - created_at) AND delete_at_day != 0', time())->hashes;
|
||||
|
||||
$records->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $i = Lutim::DB::Image->new(app => $c->app);
|
||||
$i->_slurp($e);
|
||||
|
||||
push @images, $i;
|
||||
}
|
||||
);
|
||||
|
||||
return c(@images);
|
||||
}
|
||||
|
||||
sub get_50_oldest {
|
||||
my $c = shift;
|
||||
|
||||
my @images;
|
||||
|
||||
my $records = $c->app->pg->db->query('SELECT * FROM lutim WHERE path IS NOT NULL AND enabled = 1 ORDER BY created_at ASC LIMIT 50')->hashes;
|
||||
|
||||
$records->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $i = Lutim::DB::Image->new(app => $c->app);
|
||||
$i->_slurp($e);
|
||||
|
||||
push @images, $i;
|
||||
}
|
||||
);
|
||||
|
||||
return c(@images);
|
||||
}
|
||||
|
||||
sub disable {
|
||||
my $c = shift;
|
||||
|
||||
$c->app->pg->db->query('UPDATE lutim SET enabled = 0 WHERE short = ?', $c->short);
|
||||
$c->enabled(0);
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub _slurp {
|
||||
my $c = shift;
|
||||
my $r = shift;
|
||||
|
||||
my $image;
|
||||
if (defined $r) {
|
||||
$image = $r;
|
||||
} else {
|
||||
my $images = $c->app->pg->db->query('SELECT * FROM lutim WHERE short = ?', $c->short)->hashes;
|
||||
|
||||
if ($images->size) {
|
||||
$image = $images->first;
|
||||
}
|
||||
}
|
||||
|
||||
if ($image) {
|
||||
$c->short($image->{short});
|
||||
$c->path($image->{path});
|
||||
$c->footprint($image->{footprint});
|
||||
$c->enabled($image->{enabled});
|
||||
$c->mediatype($image->{mediatype});
|
||||
$c->filename($image->{filename});
|
||||
$c->counter($image->{counter});
|
||||
$c->delete_at_first_view($image->{delete_at_first_view});
|
||||
$c->delete_at_day($image->{delete_at_day});
|
||||
$c->created_at($image->{created_at});
|
||||
$c->created_by($image->{created_by});
|
||||
$c->last_access_at($image->{last_access_at});
|
||||
$c->mod_token($image->{mod_token});
|
||||
$c->width($image->{width});
|
||||
$c->height($image->{height});
|
||||
$c->iv($image->{iv});
|
||||
|
||||
$c->record(1);
|
||||
}
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
1;
|
||||
232
lib/Lutim/DB/Image/SQLite.pm
Normal file
@@ -0,0 +1,232 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::DB::Image::SQLite;
|
||||
use Mojo::Base 'Lutim::DB::Image';
|
||||
use Mojo::Collection 'c';
|
||||
|
||||
has 'record' => 0;
|
||||
|
||||
sub new {
|
||||
my $c = shift;
|
||||
|
||||
$c = $c->SUPER::new(@_);
|
||||
$c = $c->_slurp if ($c->short);
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub accessed {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
$c->app->sqlite->db->query('UPDATE lutim SET counter = counter + 1, last_access_at = ? WHERE short = ?', $time, $c->short);
|
||||
my $h = $c->app->sqlite->db->query('SELECT counter, last_access_at FROM lutim WHERE short = ?', $c->short)->hashes->first;
|
||||
$c->counter($h->{counter});
|
||||
$c->last_access_at($h->{last_access_at});
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub count_delete_at_day_endis {
|
||||
my $c = shift;
|
||||
my $day = shift;
|
||||
my $enabled = shift;
|
||||
my $created = shift;
|
||||
|
||||
if (defined $created) {
|
||||
return $c->app->sqlite->db->query('SELECT count(short) AS count FROM lutim WHERE path IS NOT NULL AND delete_at_day = ? AND enabled = ? AND created_at < ?', $day, $enabled, $created)->hashes->first->{count};
|
||||
} else {
|
||||
return $c->app->sqlite->db->query('SELECT count(short) AS count FROM lutim WHERE path IS NOT NULL AND delete_at_day = ? AND enabled = ?', $day, $enabled)->hashes->first->{count};
|
||||
}
|
||||
}
|
||||
|
||||
sub count_created_before {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
return $c->app->sqlite->db->query('SELECT count(short) AS count FROM lutim WHERE path IS NOT NULL AND created_at < ?', $time)->hashes->first->{count};
|
||||
}
|
||||
|
||||
sub select_created_after {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
my @images;
|
||||
|
||||
my $records = $c->app->sqlite->db->query('SELECT * FROM lutim WHERE path IS NOT NULL AND created_at >= ?', $time)->hashes;
|
||||
|
||||
$records->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $i = Lutim::DB::Image->new(app => $c->app);
|
||||
$i->_slurp($e);
|
||||
|
||||
push @images, $i;
|
||||
}
|
||||
);
|
||||
|
||||
return c(@images);
|
||||
}
|
||||
|
||||
sub select_empty {
|
||||
my $c = shift;
|
||||
|
||||
my $record = $c->app->sqlite->db->query('SELECT * FROM lutim WHERE path IS NULL')->hashes->shuffle->first;
|
||||
$c->app->sqlite->db->query('UPDATE lutim SET path = ? WHERE short = ?', 'used', $record->{short});
|
||||
|
||||
$c = $c->_slurp($record);
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub write {
|
||||
my $c = shift;
|
||||
|
||||
if ($c->record) {
|
||||
$c->app->sqlite->db->query('UPDATE lutim SET counter = ?, created_at = ?, created_by = ?, delete_at_day = ?, delete_at_first_view = ?, enabled = ?, filename = ?, footprint = ?, height = ?, last_access_at = ?, mediatype = ?, mod_token = ?, path = ?, short = ?, width = ?, iv = ? WHERE short = ?', $c->counter, $c->created_at, $c->created_by, $c->delete_at_day, $c->delete_at_first_view, $c->enabled, $c->filename, $c->footprint, $c->height, $c->last_access_at, $c->mediatype, $c->mod_token, $c->path, $c->short, $c->width, $c->iv, $c->short);
|
||||
} else {
|
||||
$c->app->sqlite->db->query('INSERT INTO lutim (counter, created_at, created_by, delete_at_day, delete_at_first_view, enabled, filename, footprint, height, last_access_at, mediatype, mod_token, path, short, width, iv) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)', $c->counter, $c->created_at, $c->created_by, $c->delete_at_day, $c->delete_at_first_view, $c->enabled, $c->filename, $c->footprint, $c->height, $c->last_access_at, $c->mediatype, $c->mod_token, $c->path, $c->short, $c->width, $c->iv);
|
||||
$c->record(1);
|
||||
}
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub count_short {
|
||||
my $c = shift;
|
||||
my $short = shift;
|
||||
|
||||
return $c->app->sqlite->db->query('SELECT count(short) AS count FROM lutim WHERE short = ?', $short)->hashes->first->{count};
|
||||
}
|
||||
|
||||
sub count_empty {
|
||||
my $c = shift;
|
||||
|
||||
return $c->app->sqlite->db->query('SELECT count(short) AS count FROM lutim WHERE path IS NULL')->hashes->first->{count};
|
||||
}
|
||||
|
||||
sub count_not_empty {
|
||||
my $c = shift;
|
||||
|
||||
return $c->app->sqlite->db->query('SELECT count(short) AS count FROM lutim WHERE path IS NOT NULL')->hashes->first->{count};
|
||||
}
|
||||
|
||||
sub clean_ips_until {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
$c->app->sqlite->db->query('UPDATE lutim SET created_by = NULL WHERE path IS NOT NULL AND created_at < ?', $time);
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub get_no_longer_viewed_files {
|
||||
my $c = shift;
|
||||
my $time = shift;
|
||||
|
||||
my @images;
|
||||
|
||||
my $records = $c->app->sqlite->db->query('SELECT * FROM lutim WHERE enabled = 1 AND last_access_at < ?', $time)->{hashes};
|
||||
|
||||
$records->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $i = Lutim::DB::Image->new(app => $c->app);
|
||||
$i->record(1);
|
||||
$i->_slurp($e);
|
||||
|
||||
push @images, $i;
|
||||
}
|
||||
);
|
||||
|
||||
return c(@images);
|
||||
}
|
||||
|
||||
sub get_images_to_clean {
|
||||
my $c = shift;
|
||||
|
||||
my @images;
|
||||
|
||||
my $records = $c->app->sqlite->db->query('SELECT * FROM lutim WHERE enabled = 1 AND (delete_at_day * 86400) < (? - created_at) AND delete_at_day != 0', time())->hashes;
|
||||
|
||||
$records->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $i = Lutim::DB::Image->new(app => $c->app);
|
||||
$i->_slurp($e);
|
||||
|
||||
push @images, $i;
|
||||
}
|
||||
);
|
||||
|
||||
return c(@images);
|
||||
}
|
||||
|
||||
sub get_50_oldest {
|
||||
my $c = shift;
|
||||
|
||||
my @images;
|
||||
|
||||
my $records = $c->app->sqlite->db->query('SELECT * FROM lutim WHERE path IS NOT NULL AND enabled = 1 ORDER BY created_at ASC LIMIT 50')->hashes;
|
||||
|
||||
$records->each(
|
||||
sub {
|
||||
my ($e, $num) = @_;
|
||||
my $i = Lutim::DB::Image->new(app => $c->app);
|
||||
$i->_slurp($e);
|
||||
|
||||
push @images, $i;
|
||||
}
|
||||
);
|
||||
|
||||
return c(@images);
|
||||
}
|
||||
|
||||
sub disable {
|
||||
my $c = shift;
|
||||
|
||||
$c->app->sqlite->db->query('UPDATE lutim SET enabled = 0 WHERE short = ?', $c->short);
|
||||
$c->enabled(0);
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
sub _slurp {
|
||||
my $c = shift;
|
||||
my $r = shift;
|
||||
|
||||
my $image;
|
||||
if (defined $r) {
|
||||
$image = $r;
|
||||
} else {
|
||||
my $images = $c->app->sqlite->db->query('SELECT * FROM lutim WHERE short = ?', $c->short)->hashes;
|
||||
|
||||
if ($images->size) {
|
||||
$image = $images->first;
|
||||
}
|
||||
}
|
||||
|
||||
if ($image) {
|
||||
$c->short($image->{short});
|
||||
$c->path($image->{path});
|
||||
$c->footprint($image->{footprint});
|
||||
$c->enabled($image->{enabled});
|
||||
$c->mediatype($image->{mediatype});
|
||||
$c->filename($image->{filename});
|
||||
$c->counter($image->{counter});
|
||||
$c->delete_at_first_view($image->{delete_at_first_view});
|
||||
$c->delete_at_day($image->{delete_at_day});
|
||||
$c->created_at($image->{created_at});
|
||||
$c->created_by($image->{created_by});
|
||||
$c->last_access_at($image->{last_access_at});
|
||||
$c->mod_token($image->{mod_token});
|
||||
$c->width($image->{width});
|
||||
$c->height($image->{height});
|
||||
$c->iv($image->{iv});
|
||||
|
||||
$c->record(1);
|
||||
}
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
1;
|
||||
@@ -1,479 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Translators:
|
||||
# Thor77 <thor77@thor77.org>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Lutim\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2015-09-18 13:34+0000\n"
|
||||
"Last-Translator: Thor77 <thor77@thor77.org>\n"
|
||||
"Language-Team: German (http://www.transifex.com/fiat-tux/lutim/language/de/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: templates/partial/lutim.js.ep:238
|
||||
#: templates/partial/lutim.js.ep:247
|
||||
#: templates/partial/lutim.js.ep:248
|
||||
msgid "%1 days"
|
||||
msgstr "%1 Tage"
|
||||
|
||||
#. ($total)
|
||||
#: templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 Bilder wurden bisher über diese Instanz versendet."
|
||||
|
||||
#: templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-oder-"
|
||||
|
||||
#: templates/index.html.ep:5
|
||||
msgid "1 year"
|
||||
msgstr "1 Jahr"
|
||||
|
||||
#: templates/index.html.ep:4
|
||||
#: templates/partial/lutim.js.ep:247
|
||||
msgid "24 hours"
|
||||
msgstr "24 Stunden"
|
||||
|
||||
#: templates/myfiles.html.ep:79
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ":Fehler beim Abrufen des Zählers."
|
||||
|
||||
#: lib/Lutim/Controller.pm:270
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Beim Herunterladen des Bildes ist ein Fehler aufgetreten."
|
||||
|
||||
#: templates/about.html.ep:40
|
||||
#: templates/myfiles.html.ep:27
|
||||
#: templates/stats.html.ep:13
|
||||
msgid "Back to homepage"
|
||||
msgstr "Zurück zur Hauptseite"
|
||||
|
||||
#: templates/index.html.ep:193
|
||||
#: templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Klicken um den Dateibrowser zu öffnen"
|
||||
|
||||
#: templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Mitwirkende"
|
||||
|
||||
#: templates/partial/lutim.js.ep:313
|
||||
#: templates/partial/lutim.js.ep:361
|
||||
#: templates/partial/lutim.js.ep:435
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Alle Links zum Anschauen in die Zwischenablage kopieren"
|
||||
|
||||
#: templates/index.html.ep:18
|
||||
#: templates/index.html.ep:36
|
||||
#: templates/index.html.ep:69
|
||||
#: templates/index.html.ep:77
|
||||
#: templates/index.html.ep:85
|
||||
#: templates/index.html.ep:93
|
||||
#: templates/partial/lutim.js.ep:180
|
||||
#: templates/partial/lutim.js.ep:192
|
||||
#: templates/partial/lutim.js.ep:206
|
||||
#: templates/partial/lutim.js.ep:220
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "In die Zwischenablage kopieren"
|
||||
|
||||
#: templates/myfiles.html.ep:15
|
||||
msgid "Counter"
|
||||
msgstr "Zähler"
|
||||
|
||||
#: templates/index.html.ep:115
|
||||
#: templates/index.html.ep:147
|
||||
#: templates/index.html.ep:178
|
||||
#: templates/myfiles.html.ep:16
|
||||
#: templates/partial/lutim.js.ep:259
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Nach erstem Aufruf löschen?"
|
||||
|
||||
#: templates/index.html.ep:98
|
||||
#: templates/myfiles.html.ep:19
|
||||
#: templates/partial/common.js.ep:36
|
||||
msgid "Deletion link"
|
||||
msgstr "Link zum Löschen"
|
||||
|
||||
#: templates/gallery.html.ep:6
|
||||
#: templates/gallery.html.ep:63
|
||||
msgid "Download all images"
|
||||
msgstr "Laden Sie alle Bilder"
|
||||
|
||||
#: templates/index.html.ep:81
|
||||
#: templates/index.html.ep:83
|
||||
#: templates/partial/lutim.js.ep:198
|
||||
#: templates/partial/lutim.js.ep:202
|
||||
msgid "Download link"
|
||||
msgstr "Link zum Herunterladen"
|
||||
|
||||
#: templates/index.html.ep:28
|
||||
#: templates/index.html.ep:31
|
||||
msgid "Download zip link"
|
||||
msgstr "Link zum Archivbilder"
|
||||
|
||||
#: templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Bilder hierher ziehen"
|
||||
|
||||
#: templates/about.html.ep:7
|
||||
msgid "Drag and drop an image in the appropriate area or use the traditional way to send files and Lutim will provide you four URLs. One to view the image, an other to directly download it, one you can use on social networks and a last to delete the image when you want."
|
||||
msgstr "Ziehe Bilder in den dafür vorgesehenen Bereich und Lutim wird vier URLs generieren. Eine zum Anschauen, eine zum direkten Herunterladen, eine zum Nutzen in sozialen Netzwerken und eine letzte um das Bild zu löschen."
|
||||
|
||||
#: templates/index.html.ep:150
|
||||
#: templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Verschlüssle das Bild (Lutim behält den Key nicht)"
|
||||
|
||||
#: templates/partial/lutim.js.ep:74
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Beim bearbeiten des Bildes ist ein Fehler aufgetreten."
|
||||
|
||||
#: templates/stats.html.ep:9
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Entwicklung der Anzahl an Dateien"
|
||||
|
||||
#: templates/myfiles.html.ep:18
|
||||
msgid "Expires at"
|
||||
msgstr "Läuft ab am"
|
||||
|
||||
#: templates/myfiles.html.ep:13
|
||||
msgid "File name"
|
||||
msgstr "Dateiname"
|
||||
|
||||
#: templates/about.html.ep:24
|
||||
msgid "For more details, see the <a href=\"https://framagit.org/luc/lutim\">homepage of the project</a>."
|
||||
msgstr "Besuche für mehr Details die <a href=\"https://framagit.org/luc/lutim\">Homepage des Projekts</a>."
|
||||
|
||||
#: templates/layouts/default.html.ep:50
|
||||
msgid "Fork me!"
|
||||
msgstr "Fork me!"
|
||||
|
||||
#: templates/index.html.ep:10
|
||||
#: templates/index.html.ep:13
|
||||
msgid "Gallery link"
|
||||
msgstr "Link zur Galerie"
|
||||
|
||||
#: templates/partial/lutim.js.ep:127
|
||||
#: templates/partial/lutim.js.ep:145
|
||||
msgid "Hit Enter, then Ctrl+C to copy the short link"
|
||||
msgstr "Drücke Enter und dann STRG+C um den Kurz-Link zu kopieren."
|
||||
|
||||
#: templates/layouts/default.html.ep:45
|
||||
msgid "Homepage"
|
||||
msgstr "Webseite"
|
||||
|
||||
#: templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "Wie spricht man Lutim aus?"
|
||||
|
||||
#: templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "Wie funktionert das?"
|
||||
|
||||
#: templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "Wie kann ich ein Bild melden?"
|
||||
|
||||
#: templates/about.html.ep:14
|
||||
msgid "If the files are deleted if you ask it while posting it, their SHA512 footprint are retained."
|
||||
msgstr "Wenn du versuchst, ein Bild während dem Hochladen zu löschen, wird die SHA512-Summe des Bildes behalten."
|
||||
|
||||
#: templates/index.html.ep:163
|
||||
#: templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "Bild-URL"
|
||||
|
||||
#: lib/Lutim/Controller.pm:711
|
||||
msgid "Image not found."
|
||||
msgstr "Bild nicht gefunden"
|
||||
|
||||
#: templates/layouts/default.html.ep:49
|
||||
msgid "Informations"
|
||||
msgstr "Informationen"
|
||||
|
||||
#: templates/layouts/default.html.ep:55
|
||||
msgid "Install webapp"
|
||||
msgstr "Installiere die Webapp"
|
||||
|
||||
#: templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "Ist es wirklich anonym?"
|
||||
|
||||
#: templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "Is es wirklich kostenlos?"
|
||||
|
||||
#: templates/about.html.ep:21
|
||||
msgid "Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr "Genauso wie das französische Wort <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: templates/index.html.ep:153
|
||||
#: templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Behalte EXIF-Daten"
|
||||
|
||||
#: templates/index.html.ep:118
|
||||
#: templates/index.html.ep:166
|
||||
#: templates/index.html.ep:206
|
||||
#: templates/partial/lutim.js.ep:263
|
||||
msgid "Let's go!"
|
||||
msgstr "Los gehts!"
|
||||
|
||||
#: templates/layouts/default.html.ep:48
|
||||
msgid "License:"
|
||||
msgstr "Lizenz:"
|
||||
|
||||
#: templates/index.html.ep:89
|
||||
#: templates/index.html.ep:91
|
||||
#: templates/partial/lutim.js.ep:212
|
||||
#: templates/partial/lutim.js.ep:216
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Links zum teilen auf sozialen Netzwerken"
|
||||
|
||||
#: templates/about.html.ep:4
|
||||
msgid "Lutim is a free (as in free beer) and anonymous image hosting service. It's also the name of the free (as in free speech) software which provides this service."
|
||||
msgstr ""
|
||||
"Lutim ist ein freier und anonymer Bilder-Upload-Service.\n"
|
||||
"Es ist auch der Name der freien Software, die diesen Service bietet."
|
||||
|
||||
#: templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Haupt-Entwickler"
|
||||
|
||||
#: templates/index.html.ep:73
|
||||
#: templates/index.html.ep:75
|
||||
#: templates/partial/lutim.js.ep:186
|
||||
#: templates/partial/lutim.js.ep:189
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Markdown Syntax"
|
||||
|
||||
#: templates/layouts/default.html.ep:54
|
||||
#: templates/myfiles.html.ep:2
|
||||
msgid "My images"
|
||||
msgstr "Meine Bilder"
|
||||
|
||||
#: templates/myfiles.html.ep:39
|
||||
msgid "No limit"
|
||||
msgstr "Keine Begrenzung"
|
||||
|
||||
#: templates/index.html.ep:165
|
||||
#: templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Es sind nur Bilder erlaubt"
|
||||
|
||||
#: templates/myfiles.html.ep:6
|
||||
msgid "Only the images sent with this browser will be listed here. The informations are stored in localStorage: if you delete your localStorage data, you'll loose this informations."
|
||||
msgstr "Nur die Bilder, die über diesen Browser versendet wurden, werden hier angezeigt. Die Informationen werden im localStorage gespeichert, wenn du diesen leerst, sind die Informationen verloren."
|
||||
|
||||
#: templates/about.html.ep:16
|
||||
msgid "Only the uploader! (well, only if he's the only owner of the images' rights before the upload)"
|
||||
msgstr "Nur der Hochladende (natürlich nur, wenn er vorher auch Rechteinhaber des Bildes war)"
|
||||
|
||||
#. (config('contact')
|
||||
#: templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Kontaktiere den Administrator: %1"
|
||||
|
||||
#: templates/gallery.html.ep:51
|
||||
msgid "Please wait"
|
||||
msgstr "Warten Sie mal"
|
||||
|
||||
#: templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Sende ein Bild"
|
||||
|
||||
#: templates/partial/lutim.js.ep:53
|
||||
msgid "Share it!"
|
||||
msgstr "Teile es!"
|
||||
|
||||
#: templates/layouts/default.html.ep:51
|
||||
msgid "Share on Twitter"
|
||||
msgstr "Teile es auf Twitter"
|
||||
|
||||
#: templates/index.html.ep:133
|
||||
#: templates/partial/lutim.js.ep:274
|
||||
msgid "Something bad happened"
|
||||
msgstr "Es ist ein Fehler aufgetreten"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:719
|
||||
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
|
||||
msgstr "Es ist ein Fehler aufgetreten. Versuche es erneut oder kontaktiere den Administrator (%1)."
|
||||
|
||||
#: templates/about.html.ep:13
|
||||
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
|
||||
msgstr "Die IP-Adresse des Nutzers wird für eine bestimmte Zeit gespeichert. Diese kann der Administrator frei wählen (für die offizielle Instanz, die in Frankreich gehostet ist, liegt diese Zeit bei einem Jahr)"
|
||||
|
||||
#: templates/about.html.ep:23
|
||||
msgid "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr "Lutim ist <a href=\"https://de.wikipedia.org/wiki/Freie_Software\">freie Software</a>, was dir erlaubt sie herunterzuladen und sie auf deinem eigenem Server zu installieren. Schau dir die <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> an um deine Recht zu sehen."
|
||||
|
||||
#: lib/Lutim/Controller.pm:289
|
||||
msgid "The URL is not valid."
|
||||
msgstr "Die URL ist nicht gültig."
|
||||
|
||||
#: lib/Lutim/Controller.pm:101
|
||||
#: lib/Lutim/Controller.pm:170
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "Das Token zum Löschen ist ungültig."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:433
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "Die Datei %1 ist kein Bild."
|
||||
|
||||
#. ($max_file_size)
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#: lib/Lutim/Controller.pm:253
|
||||
#: lib/Lutim/Controller.pm:322
|
||||
#: templates/partial/lutim.js.ep:337
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "Die Datei überschreitet die Größenbeschränkung (%1)"
|
||||
|
||||
#: templates/stats.html.ep:11
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Die Daten des Graphs werden nicht in Echtzeit aktualisiert."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:172
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "Das Bild %1 wurde schon gelöscht."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:181
|
||||
#: lib/Lutim/Controller.pm:186
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "Das Bild %1 wurde erfolgreich gelöscht."
|
||||
|
||||
#: lib/Lutim/Controller.pm:109
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Die Zeit bis zum Löschen des Bildes wurde erfolgreich geändert."
|
||||
|
||||
#: templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr "Die Bilder werden auf dem Server verschlüsselt (Lutim behält den Key nicht)"
|
||||
|
||||
#: templates/about.html.ep:5
|
||||
msgid "The images you post on Lutim can be stored indefinitely or be deleted at first view or after a delay selected from those proposed."
|
||||
msgstr "Die Bilder, die du auf Lutim hochlädst, können entweder nie, nach dem ersten Aufruf oder nach einer bestimmten Zeit gelöscht werden."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:428
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr "Es sind keine URLs mehr verfügbar. Versuche es erneut oder kontaktiere den Administrator. %1"
|
||||
|
||||
#: templates/index.html.ep:60
|
||||
#: templates/partial/lutim.js.ep:46
|
||||
msgid "Tweet it!"
|
||||
msgstr "Twittere es!"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
#: lib/Lutim/Controller.pm:215
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Konnte das Bild %1 nicht finden."
|
||||
|
||||
#: lib/Lutim.pm:66
|
||||
#: lib/Lutim/Controller.pm:518
|
||||
#: lib/Lutim/Controller.pm:564
|
||||
#: lib/Lutim/Controller.pm:608
|
||||
#: lib/Lutim/Controller.pm:648
|
||||
#: lib/Lutim/Controller.pm:660
|
||||
#: lib/Lutim/Controller.pm:671
|
||||
#: lib/Lutim/Controller.pm:708
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Dieses Bild wurde gelöscht."
|
||||
|
||||
#: lib/Lutim/Controller.pm:85
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Konnte den Zähler nicht abrufen"
|
||||
|
||||
#: templates/about.html.ep:17
|
||||
msgid "Unlike many image sharing services, you don't give us rights on uploaded images."
|
||||
msgstr "Im Gegensatz zu anderen Bild-Hosting-Diensten, überträgst du uns nicht die Rechte an hochgeladenen Bildern."
|
||||
|
||||
#: templates/index.html.ep:162
|
||||
#: templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Lade ein Bild über seine URL hoch"
|
||||
|
||||
#: templates/myfiles.html.ep:17
|
||||
msgid "Uploaded at"
|
||||
msgstr "Hochgeladen am"
|
||||
|
||||
#: templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Hochgeladene Bilder pro Tag"
|
||||
|
||||
#. ($config->{contact})
|
||||
#: lib/Lutim.pm:170
|
||||
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
|
||||
msgstr "Hochladen ist momentan deaktiviert. Versuche es später erneut oder kontaktiere den Administrator (%1)."
|
||||
|
||||
#: templates/index.html.ep:65
|
||||
#: templates/index.html.ep:67
|
||||
#: templates/myfiles.html.ep:14
|
||||
#: templates/partial/lutim.js.ep:172
|
||||
#: templates/partial/lutim.js.ep:176
|
||||
msgid "View link"
|
||||
msgstr "Link ansehen"
|
||||
|
||||
#: templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "Welche Software stellt diesen Dienst bereit?"
|
||||
|
||||
#: templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "Was ist Lutim?"
|
||||
|
||||
#: templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Wer hat die Rechte an auf Lutim hochgeladenen Bildern?"
|
||||
|
||||
#: templates/about.html.ep:12
|
||||
msgid "Yes, it is! On the other side, for legal reasons, your IP address will be stored when you send an image. Don't panic, it is normally the case of all sites on which you send files!"
|
||||
msgstr "Ja, ist es! Auf der anderen Seite wird deine IP-Adresse, wegen rechtlichen Gründen, beim hochladen gespeichert. Keine Panik, das ist normalerweise der Fall für alle Seiten, an die du Dateien sendest!"
|
||||
|
||||
#. (url_for('/')
|
||||
#: templates/about.html.ep:10
|
||||
msgid "Yes, it is! On the other side, if you want to support the developer, you can do it via <a href=\"https://flattr.com/submit/auto?user_id=_SKy_&url=%1&title=Lutim&category=software\">Flattr</a> or with <a href=\"bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim\">BitCoin</a>."
|
||||
msgstr "Ja, ist es! Auf der anderen Seite kannst du den Entwickler via <a href=\"https://flattr.com/submit/auto?user_id=_SKy_&url=%1&title=Lutim&category=software\">Flattr</a> oder <a href=\"bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim\">Bitcoin</a> unterstützen."
|
||||
|
||||
#: templates/about.html.ep:8
|
||||
msgid "You can, optionally, request that the image(s) posted on Lutim to be deleted at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr "Du kannst Bilder, die du auf Lutim hochlädst, entweder nach dem ernsten Ansehen (oder Herunterladen) oder nach einem der vorgeschlagenen Zeiten löschen lassen."
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "und auf"
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "Haupt-Entwickler"
|
||||
|
||||
#: templates/index.html.ep:3
|
||||
msgid "no time limit"
|
||||
msgstr "keine Zeit-Begrenzung"
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "auf"
|
||||
|
||||
#: templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "spanische Übersetzung"
|
||||
|
||||
#: templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "Webapp-Entwickler"
|
||||
@@ -1,475 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Lutim\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2015-09-10 23:28+0000\n"
|
||||
"Last-Translator: Luc Didry <luc@didry.org>\n"
|
||||
"Language-Team: English (http://www.transifex.com/fiat-tux/lutim/language/en/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: en\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: templates/partial/lutim.js.ep:238
|
||||
#: templates/partial/lutim.js.ep:247
|
||||
#: templates/partial/lutim.js.ep:248
|
||||
msgid "%1 days"
|
||||
msgstr ""
|
||||
|
||||
#. ($total)
|
||||
#: templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 sent images on this instance from beginning."
|
||||
|
||||
#: templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-or-"
|
||||
|
||||
#: templates/index.html.ep:5
|
||||
msgid "1 year"
|
||||
msgstr "1 year"
|
||||
|
||||
#: templates/index.html.ep:4
|
||||
#: templates/partial/lutim.js.ep:247
|
||||
msgid "24 hours"
|
||||
msgstr "24 hours"
|
||||
|
||||
#: templates/myfiles.html.ep:79
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:270
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "An error occured while downloading the image."
|
||||
|
||||
#: templates/about.html.ep:40
|
||||
#: templates/myfiles.html.ep:27
|
||||
#: templates/stats.html.ep:13
|
||||
msgid "Back to homepage"
|
||||
msgstr "Back to homepage"
|
||||
|
||||
#: templates/index.html.ep:193
|
||||
#: templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Click to open the file browser"
|
||||
|
||||
#: templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Contributors"
|
||||
|
||||
#: templates/partial/lutim.js.ep:313
|
||||
#: templates/partial/lutim.js.ep:361
|
||||
#: templates/partial/lutim.js.ep:435
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr ""
|
||||
|
||||
#: templates/index.html.ep:18
|
||||
#: templates/index.html.ep:36
|
||||
#: templates/index.html.ep:69
|
||||
#: templates/index.html.ep:77
|
||||
#: templates/index.html.ep:85
|
||||
#: templates/index.html.ep:93
|
||||
#: templates/partial/lutim.js.ep:180
|
||||
#: templates/partial/lutim.js.ep:192
|
||||
#: templates/partial/lutim.js.ep:206
|
||||
#: templates/partial/lutim.js.ep:220
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Copy to clipboard"
|
||||
|
||||
#: templates/myfiles.html.ep:15
|
||||
msgid "Counter"
|
||||
msgstr ""
|
||||
|
||||
#: templates/index.html.ep:115
|
||||
#: templates/index.html.ep:147
|
||||
#: templates/index.html.ep:178
|
||||
#: templates/myfiles.html.ep:16
|
||||
#: templates/partial/lutim.js.ep:259
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Delete at first view?"
|
||||
|
||||
#: templates/index.html.ep:98
|
||||
#: templates/myfiles.html.ep:19
|
||||
#: templates/partial/common.js.ep:36
|
||||
msgid "Deletion link"
|
||||
msgstr "Deletion link"
|
||||
|
||||
#: templates/gallery.html.ep:6
|
||||
#: templates/gallery.html.ep:63
|
||||
msgid "Download all images"
|
||||
msgstr ""
|
||||
|
||||
#: templates/index.html.ep:81
|
||||
#: templates/index.html.ep:83
|
||||
#: templates/partial/lutim.js.ep:198
|
||||
#: templates/partial/lutim.js.ep:202
|
||||
msgid "Download link"
|
||||
msgstr "Download link"
|
||||
|
||||
#: templates/index.html.ep:28
|
||||
#: templates/index.html.ep:31
|
||||
msgid "Download zip link"
|
||||
msgstr ""
|
||||
|
||||
#: templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Drag & drop images here"
|
||||
|
||||
#: templates/about.html.ep:7
|
||||
msgid "Drag and drop an image in the appropriate area or use the traditional way to send files and Lutim will provide you four URLs. One to view the image, an other to directly download it, one you can use on social networks and a last to delete the image when you want."
|
||||
msgstr "Drag and drop an image in the appropriate area or use the traditional way to send files and Lutim will provide you four URLs. One to view the image, an other to directly download it, one you can use on social networks and a last to delete the image when you want."
|
||||
|
||||
#: templates/index.html.ep:150
|
||||
#: templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Encrypt the image (Lutim does not keep the key)."
|
||||
|
||||
#: templates/partial/lutim.js.ep:74
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr ""
|
||||
|
||||
#: templates/stats.html.ep:9
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Evolution of total files"
|
||||
|
||||
#: templates/myfiles.html.ep:18
|
||||
msgid "Expires at"
|
||||
msgstr ""
|
||||
|
||||
#: templates/myfiles.html.ep:13
|
||||
msgid "File name"
|
||||
msgstr ""
|
||||
|
||||
#: templates/about.html.ep:24
|
||||
msgid "For more details, see the <a href=\"https://framagit.org/luc/lutim\">homepage of the project</a>."
|
||||
msgstr "For more details, see the <a href=\"https://framagit.org/luc/lutim\">homepage of the project</a>."
|
||||
|
||||
#: templates/layouts/default.html.ep:50
|
||||
msgid "Fork me!"
|
||||
msgstr "Fork me!"
|
||||
|
||||
#: templates/index.html.ep:10
|
||||
#: templates/index.html.ep:13
|
||||
msgid "Gallery link"
|
||||
msgstr ""
|
||||
|
||||
#: templates/partial/lutim.js.ep:127
|
||||
#: templates/partial/lutim.js.ep:145
|
||||
msgid "Hit Enter, then Ctrl+C to copy the short link"
|
||||
msgstr ""
|
||||
|
||||
#: templates/layouts/default.html.ep:45
|
||||
msgid "Homepage"
|
||||
msgstr "Homepage"
|
||||
|
||||
#: templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "How do you pronounce Lutim?"
|
||||
|
||||
#: templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "How does it work?"
|
||||
|
||||
#: templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "How to report an image?"
|
||||
|
||||
#: templates/about.html.ep:14
|
||||
msgid "If the files are deleted if you ask it while posting it, their SHA512 footprint are retained."
|
||||
msgstr "If the files are deleted if you ask it while posting it, their SHA512 footprint are retained."
|
||||
|
||||
#: templates/index.html.ep:163
|
||||
#: templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "Image URL"
|
||||
|
||||
#: lib/Lutim/Controller.pm:711
|
||||
msgid "Image not found."
|
||||
msgstr ""
|
||||
|
||||
#: templates/layouts/default.html.ep:49
|
||||
msgid "Informations"
|
||||
msgstr "Informations"
|
||||
|
||||
#: templates/layouts/default.html.ep:55
|
||||
msgid "Install webapp"
|
||||
msgstr "Install webapp"
|
||||
|
||||
#: templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "Is it really anonymous?"
|
||||
|
||||
#: templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "Is it really free (as in free beer)?"
|
||||
|
||||
#: templates/about.html.ep:21
|
||||
msgid "Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr "Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: templates/index.html.ep:153
|
||||
#: templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Keep EXIF tags"
|
||||
|
||||
#: templates/index.html.ep:118
|
||||
#: templates/index.html.ep:166
|
||||
#: templates/index.html.ep:206
|
||||
#: templates/partial/lutim.js.ep:263
|
||||
msgid "Let's go!"
|
||||
msgstr "Let's go!"
|
||||
|
||||
#: templates/layouts/default.html.ep:48
|
||||
msgid "License:"
|
||||
msgstr "License:"
|
||||
|
||||
#: templates/index.html.ep:89
|
||||
#: templates/index.html.ep:91
|
||||
#: templates/partial/lutim.js.ep:212
|
||||
#: templates/partial/lutim.js.ep:216
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Link for share on social networks"
|
||||
|
||||
#: templates/about.html.ep:4
|
||||
msgid "Lutim is a free (as in free beer) and anonymous image hosting service. It's also the name of the free (as in free speech) software which provides this service."
|
||||
msgstr "Lutim is a free (as in free beer) and anonymous image hosting service. It's also the name of the free (as in free speech) software which provides this service."
|
||||
|
||||
#: templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Main developers"
|
||||
|
||||
#: templates/index.html.ep:73
|
||||
#: templates/index.html.ep:75
|
||||
#: templates/partial/lutim.js.ep:186
|
||||
#: templates/partial/lutim.js.ep:189
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Markdown syntax"
|
||||
|
||||
#: templates/layouts/default.html.ep:54
|
||||
#: templates/myfiles.html.ep:2
|
||||
msgid "My images"
|
||||
msgstr ""
|
||||
|
||||
#: templates/myfiles.html.ep:39
|
||||
msgid "No limit"
|
||||
msgstr ""
|
||||
|
||||
#: templates/index.html.ep:165
|
||||
#: templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Only images are allowed"
|
||||
|
||||
#: templates/myfiles.html.ep:6
|
||||
msgid "Only the images sent with this browser will be listed here. The informations are stored in localStorage: if you delete your localStorage data, you'll loose this informations."
|
||||
msgstr ""
|
||||
|
||||
#: templates/about.html.ep:16
|
||||
msgid "Only the uploader! (well, only if he's the only owner of the images' rights before the upload)"
|
||||
msgstr "Only the uploader! (well, only if he's the only owner of the images' rights before the upload)"
|
||||
|
||||
#. (config('contact')
|
||||
#: templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Please contact the administrator: %1"
|
||||
|
||||
#: templates/gallery.html.ep:51
|
||||
msgid "Please wait"
|
||||
msgstr ""
|
||||
|
||||
#: templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Send an image"
|
||||
|
||||
#: templates/partial/lutim.js.ep:53
|
||||
msgid "Share it!"
|
||||
msgstr ""
|
||||
|
||||
#: templates/layouts/default.html.ep:51
|
||||
msgid "Share on Twitter"
|
||||
msgstr "Share on Twitter"
|
||||
|
||||
#: templates/index.html.ep:133
|
||||
#: templates/partial/lutim.js.ep:274
|
||||
msgid "Something bad happened"
|
||||
msgstr "Something bad happened"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:719
|
||||
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
|
||||
msgstr ""
|
||||
|
||||
#: templates/about.html.ep:13
|
||||
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
|
||||
msgstr "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
|
||||
|
||||
#: templates/about.html.ep:23
|
||||
msgid "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
|
||||
#: lib/Lutim/Controller.pm:289
|
||||
msgid "The URL is not valid."
|
||||
msgstr "The URL is not valid."
|
||||
|
||||
#: lib/Lutim/Controller.pm:101
|
||||
#: lib/Lutim/Controller.pm:170
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "The delete token is invalid."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:433
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "The file %1 is not an image."
|
||||
|
||||
#. ($max_file_size)
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#: lib/Lutim/Controller.pm:253
|
||||
#: lib/Lutim/Controller.pm:322
|
||||
#: templates/partial/lutim.js.ep:337
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "The file exceed the size limit (%1)"
|
||||
|
||||
#: templates/stats.html.ep:11
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "The graph's datas are not updated in real-time."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:172
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "The image %1 has already been deleted."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:181
|
||||
#: lib/Lutim/Controller.pm:186
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "The image %1 has been successfully deleted"
|
||||
|
||||
#: lib/Lutim/Controller.pm:109
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "The image's delay has been successfully modified"
|
||||
|
||||
#: templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
|
||||
#: templates/about.html.ep:5
|
||||
msgid "The images you post on Lutim can be stored indefinitely or be deleted at first view or after a delay selected from those proposed."
|
||||
msgstr "The images you post on Lutim can be stored indefinitely or be deleted at first view or after a delay selected from those proposed."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:428
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr "There is no more available URL. Retry or contact the administrator. %1"
|
||||
|
||||
#: templates/index.html.ep:60
|
||||
#: templates/partial/lutim.js.ep:46
|
||||
msgid "Tweet it!"
|
||||
msgstr "Tweet it!"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
#: lib/Lutim/Controller.pm:215
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Unable to find the image %1."
|
||||
|
||||
#: lib/Lutim.pm:66
|
||||
#: lib/Lutim/Controller.pm:518
|
||||
#: lib/Lutim/Controller.pm:564
|
||||
#: lib/Lutim/Controller.pm:608
|
||||
#: lib/Lutim/Controller.pm:648
|
||||
#: lib/Lutim/Controller.pm:660
|
||||
#: lib/Lutim/Controller.pm:671
|
||||
#: lib/Lutim/Controller.pm:708
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Unable to find the image: it has been deleted."
|
||||
|
||||
#: lib/Lutim/Controller.pm:85
|
||||
msgid "Unable to get counter"
|
||||
msgstr ""
|
||||
|
||||
#: templates/about.html.ep:17
|
||||
msgid "Unlike many image sharing services, you don't give us rights on uploaded images."
|
||||
msgstr "Unlike many image sharing services, you don't give us rights on uploaded images."
|
||||
|
||||
#: templates/index.html.ep:162
|
||||
#: templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Upload an image with its URL"
|
||||
|
||||
#: templates/myfiles.html.ep:17
|
||||
msgid "Uploaded at"
|
||||
msgstr ""
|
||||
|
||||
#: templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Uploaded files by days"
|
||||
|
||||
#. ($config->{contact})
|
||||
#: lib/Lutim.pm:170
|
||||
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
|
||||
msgstr "Uploading is currently disabled, please try later or contact the administrator (%1)."
|
||||
|
||||
#: templates/index.html.ep:65
|
||||
#: templates/index.html.ep:67
|
||||
#: templates/myfiles.html.ep:14
|
||||
#: templates/partial/lutim.js.ep:172
|
||||
#: templates/partial/lutim.js.ep:176
|
||||
msgid "View link"
|
||||
msgstr "View link"
|
||||
|
||||
#: templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "What about the software which provides the service?"
|
||||
|
||||
#: templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "What is Lutim?"
|
||||
|
||||
#: templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Who owns rights on images uploaded on Lutim?"
|
||||
|
||||
#: templates/about.html.ep:12
|
||||
msgid "Yes, it is! On the other side, for legal reasons, your IP address will be stored when you send an image. Don't panic, it is normally the case of all sites on which you send files!"
|
||||
msgstr "Yes, it is! On the other side, for legal reasons, your IP address will be stored when you send an image. Don't panic, it is normally the case of all sites on which you send files!"
|
||||
|
||||
#. (url_for('/')
|
||||
#: templates/about.html.ep:10
|
||||
msgid "Yes, it is! On the other side, if you want to support the developer, you can do it via <a href=\"https://flattr.com/submit/auto?user_id=_SKy_&url=%1&title=Lutim&category=software\">Flattr</a> or with <a href=\"bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim\">BitCoin</a>."
|
||||
msgstr "Yes, it is! On the other side, if you want to support the developer, you can do it via <a href=\"https://flattr.com/submit/auto?user_id=_SKy_&url=%1&title=Lutim&category=software\">Flattr</a> or with <a href=\"bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim\">BitCoin</a>."
|
||||
|
||||
#: templates/about.html.ep:8
|
||||
msgid "You can, optionally, request that the image(s) posted on Lutim to be deleted at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr "You can, optionally, request that the image(s) posted on Lutim to be deleted at first view (or download) or after the delay selected from those proposed."
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "and on"
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "core developer"
|
||||
|
||||
#: templates/index.html.ep:3
|
||||
msgid "no time limit"
|
||||
msgstr "no time limit"
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "on"
|
||||
|
||||
#: templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "spanish translation"
|
||||
|
||||
#: templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "webapp developer"
|
||||
@@ -1,477 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Translators:
|
||||
# Luc Didry <luc@didry.org>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Lutim\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2015-09-17 22:00+0000\n"
|
||||
"Last-Translator: Luc Didry <luc@didry.org>\n"
|
||||
"Language-Team: Spanish (http://www.transifex.com/fiat-tux/lutim/language/es/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: templates/partial/lutim.js.ep:238
|
||||
#: templates/partial/lutim.js.ep:247
|
||||
#: templates/partial/lutim.js.ep:248
|
||||
msgid "%1 days"
|
||||
msgstr "%1 días"
|
||||
|
||||
#. ($total)
|
||||
#: templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 imágenes enviadas a esta instancia desde el inicio."
|
||||
|
||||
#: templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-o-"
|
||||
|
||||
#: templates/index.html.ep:5
|
||||
msgid "1 year"
|
||||
msgstr "1 año"
|
||||
|
||||
#: templates/index.html.ep:4
|
||||
#: templates/partial/lutim.js.ep:247
|
||||
msgid "24 hours"
|
||||
msgstr "24 horas"
|
||||
|
||||
#: templates/myfiles.html.ep:79
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ": Error al intentar obtener el contador."
|
||||
|
||||
#: lib/Lutim/Controller.pm:270
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Error al intentar modificar la imagen."
|
||||
|
||||
#: templates/about.html.ep:40
|
||||
#: templates/myfiles.html.ep:27
|
||||
#: templates/stats.html.ep:13
|
||||
msgid "Back to homepage"
|
||||
msgstr "Volver a la página inicial"
|
||||
|
||||
#: templates/index.html.ep:193
|
||||
#: templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Clic para abrir el explorador de archivos"
|
||||
|
||||
#: templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Contribuidores"
|
||||
|
||||
#: templates/partial/lutim.js.ep:313
|
||||
#: templates/partial/lutim.js.ep:361
|
||||
#: templates/partial/lutim.js.ep:435
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Copiar todos los enlaces de visualización al portapapeles"
|
||||
|
||||
#: templates/index.html.ep:18
|
||||
#: templates/index.html.ep:36
|
||||
#: templates/index.html.ep:69
|
||||
#: templates/index.html.ep:77
|
||||
#: templates/index.html.ep:85
|
||||
#: templates/index.html.ep:93
|
||||
#: templates/partial/lutim.js.ep:180
|
||||
#: templates/partial/lutim.js.ep:192
|
||||
#: templates/partial/lutim.js.ep:206
|
||||
#: templates/partial/lutim.js.ep:220
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Copiar al portapapeles"
|
||||
|
||||
#: templates/myfiles.html.ep:15
|
||||
msgid "Counter"
|
||||
msgstr "Contador"
|
||||
|
||||
#: templates/index.html.ep:115
|
||||
#: templates/index.html.ep:147
|
||||
#: templates/index.html.ep:178
|
||||
#: templates/myfiles.html.ep:16
|
||||
#: templates/partial/lutim.js.ep:259
|
||||
msgid "Delete at first view?"
|
||||
msgstr "¿Borrar en la primera vista?"
|
||||
|
||||
#: templates/index.html.ep:98
|
||||
#: templates/myfiles.html.ep:19
|
||||
#: templates/partial/common.js.ep:36
|
||||
msgid "Deletion link"
|
||||
msgstr "Enlace para borrar"
|
||||
|
||||
#: templates/gallery.html.ep:6
|
||||
#: templates/gallery.html.ep:63
|
||||
msgid "Download all images"
|
||||
msgstr "Descargar todas las imágenes"
|
||||
|
||||
#: templates/index.html.ep:81
|
||||
#: templates/index.html.ep:83
|
||||
#: templates/partial/lutim.js.ep:198
|
||||
#: templates/partial/lutim.js.ep:202
|
||||
msgid "Download link"
|
||||
msgstr "Enlace de descarga"
|
||||
|
||||
#: templates/index.html.ep:28
|
||||
#: templates/index.html.ep:31
|
||||
msgid "Download zip link"
|
||||
msgstr "Enlace de descarga del archivo de las imágenes"
|
||||
|
||||
#: templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Arrastre y suelte imágenes aquí"
|
||||
|
||||
#: templates/about.html.ep:7
|
||||
msgid "Drag and drop an image in the appropriate area or use the traditional way to send files and Lutim will provide you four URLs. One to view the image, an other to directly download it, one you can use on social networks and a last to delete the image when you want."
|
||||
msgstr "Arrastre y suelte una imagen en el área apropiada, o use el método tradicional para enviar ficheros, y Lutim proporcionará cuatro URLs. Una para ver la imagen, otra para descargarla directamente, una que upede usar en redes sociales, y una última para borrar la imagen cuando lo desee."
|
||||
|
||||
#: templates/index.html.ep:150
|
||||
#: templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Las imágenes se cifran en el servidor (Lutim no guarda la clave)."
|
||||
|
||||
#: templates/partial/lutim.js.ep:74
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Error al intentar modificar la imagen."
|
||||
|
||||
#: templates/stats.html.ep:9
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Evolución de archivos en total"
|
||||
|
||||
#: templates/myfiles.html.ep:18
|
||||
msgid "Expires at"
|
||||
msgstr "Expira"
|
||||
|
||||
#: templates/myfiles.html.ep:13
|
||||
msgid "File name"
|
||||
msgstr "Nombre de archivo"
|
||||
|
||||
#: templates/about.html.ep:24
|
||||
msgid "For more details, see the <a href=\"https://framagit.org/luc/lutim\">homepage of the project</a>."
|
||||
msgstr "Para más detalles, vea la <a href=\"https://framagit.org/luc/lutim\">página del proyecto</a>."
|
||||
|
||||
#: templates/layouts/default.html.ep:50
|
||||
msgid "Fork me!"
|
||||
msgstr "¡Clóname!"
|
||||
|
||||
#: templates/index.html.ep:10
|
||||
#: templates/index.html.ep:13
|
||||
msgid "Gallery link"
|
||||
msgstr "Enlace a la galería"
|
||||
|
||||
#: templates/partial/lutim.js.ep:127
|
||||
#: templates/partial/lutim.js.ep:145
|
||||
msgid "Hit Enter, then Ctrl+C to copy the short link"
|
||||
msgstr "Presione Ingresar, entonces Ctrl + C para copiar el enlace"
|
||||
|
||||
#: templates/layouts/default.html.ep:45
|
||||
msgid "Homepage"
|
||||
msgstr "Página inicial"
|
||||
|
||||
#: templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "¿Cómo se pronuncia Lutim?"
|
||||
|
||||
#: templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "¿Cómo funciona?"
|
||||
|
||||
#: templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "¿Cómo informar sobre una imagen?"
|
||||
|
||||
#: templates/about.html.ep:14
|
||||
msgid "If the files are deleted if you ask it while posting it, their SHA512 footprint are retained."
|
||||
msgstr "Si los ficheros se borran por haberlo solicitado al enviarlos, se retiene su huella digital SHA512."
|
||||
|
||||
#: templates/index.html.ep:163
|
||||
#: templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "URL de la imagen"
|
||||
|
||||
#: lib/Lutim/Controller.pm:711
|
||||
msgid "Image not found."
|
||||
msgstr "Imagen no encontrada."
|
||||
|
||||
#: templates/layouts/default.html.ep:49
|
||||
msgid "Informations"
|
||||
msgstr "Informaciones"
|
||||
|
||||
#: templates/layouts/default.html.ep:55
|
||||
msgid "Install webapp"
|
||||
msgstr "Instalar webapp"
|
||||
|
||||
#: templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "¿Es realmente anónimo?"
|
||||
|
||||
#: templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "¿Es realmente gratis?"
|
||||
|
||||
#: templates/about.html.ep:21
|
||||
msgid "Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr "Tal y como se pronuncia la palabra francesa <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: templates/index.html.ep:153
|
||||
#: templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Mantener las etiquetas EXIF"
|
||||
|
||||
#: templates/index.html.ep:118
|
||||
#: templates/index.html.ep:166
|
||||
#: templates/index.html.ep:206
|
||||
#: templates/partial/lutim.js.ep:263
|
||||
msgid "Let's go!"
|
||||
msgstr "¡Vamos allá!"
|
||||
|
||||
#: templates/layouts/default.html.ep:48
|
||||
msgid "License:"
|
||||
msgstr "Licencia:"
|
||||
|
||||
#: templates/index.html.ep:89
|
||||
#: templates/index.html.ep:91
|
||||
#: templates/partial/lutim.js.ep:212
|
||||
#: templates/partial/lutim.js.ep:216
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Enlace para compartir en redes sociales"
|
||||
|
||||
#: templates/about.html.ep:4
|
||||
msgid "Lutim is a free (as in free beer) and anonymous image hosting service. It's also the name of the free (as in free speech) software which provides this service."
|
||||
msgstr "Lutim es un servicio de alojamiento de imágenes anónimo y gratuito. También es el nombre del software libre que proporciona este servicio."
|
||||
|
||||
#: templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Desarrolladores principales"
|
||||
|
||||
#: templates/index.html.ep:73
|
||||
#: templates/index.html.ep:75
|
||||
#: templates/partial/lutim.js.ep:186
|
||||
#: templates/partial/lutim.js.ep:189
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Sintaxis de Markdown"
|
||||
|
||||
#: templates/layouts/default.html.ep:54
|
||||
#: templates/myfiles.html.ep:2
|
||||
msgid "My images"
|
||||
msgstr "Mis Imágenes"
|
||||
|
||||
#: templates/myfiles.html.ep:39
|
||||
msgid "No limit"
|
||||
msgstr "Sin fecha de caducidad"
|
||||
|
||||
#: templates/index.html.ep:165
|
||||
#: templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Sólo se admiten imágenes"
|
||||
|
||||
#: templates/myfiles.html.ep:6
|
||||
msgid "Only the images sent with this browser will be listed here. The informations are stored in localStorage: if you delete your localStorage data, you'll loose this informations."
|
||||
msgstr ""
|
||||
|
||||
#: templates/about.html.ep:16
|
||||
msgid "Only the uploader! (well, only if he's the only owner of the images' rights before the upload)"
|
||||
msgstr "¡Sólo el usuario! (bueno, sólo si él/ela es el único titular de los derechos de las imágenes antes de subirlas)"
|
||||
|
||||
#. (config('contact')
|
||||
#: templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Por favor, contacte con el administrador: %1"
|
||||
|
||||
#: templates/gallery.html.ep:51
|
||||
msgid "Please wait"
|
||||
msgstr "Por favor espera"
|
||||
|
||||
#: templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Enviar una imagen"
|
||||
|
||||
#: templates/partial/lutim.js.ep:53
|
||||
msgid "Share it!"
|
||||
msgstr "¡Compártelo!"
|
||||
|
||||
#: templates/layouts/default.html.ep:51
|
||||
msgid "Share on Twitter"
|
||||
msgstr "Compartir en Twitter"
|
||||
|
||||
#: templates/index.html.ep:133
|
||||
#: templates/partial/lutim.js.ep:274
|
||||
msgid "Something bad happened"
|
||||
msgstr "Algo malo ha pasado"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:719
|
||||
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
|
||||
msgstr "Algo malo ha pasado. Inténtelo de nuevo más tarde o contacte con el administrador (%1)."
|
||||
|
||||
#: templates/about.html.ep:13
|
||||
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
|
||||
msgstr "La dirección IP del remitente de la imagen se retiene durante un tiempo, que depende de lo que elija el administrador (para la instancia oficial, que está localizada en Francia, es un año)."
|
||||
|
||||
#: templates/about.html.ep:23
|
||||
msgid "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr "El software Lutim es <a href=\"http://es.wikipedia.org/wiki/Software_libre\">software libre</a>, lo que le permite descargarlo e instalarlo en su propio servidor. Eche un vistazo a la licencia <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> para ver qué puede hacer."
|
||||
|
||||
#: lib/Lutim/Controller.pm:289
|
||||
msgid "The URL is not valid."
|
||||
msgstr "La URL no es válida."
|
||||
|
||||
#: lib/Lutim/Controller.pm:101
|
||||
#: lib/Lutim/Controller.pm:170
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "El código de borrado no es válido."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:433
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "El archivo %1 no es una imagen."
|
||||
|
||||
#. ($max_file_size)
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#: lib/Lutim/Controller.pm:253
|
||||
#: lib/Lutim/Controller.pm:322
|
||||
#: templates/partial/lutim.js.ep:337
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "El archivo supera el límite de tamaño (%1)"
|
||||
|
||||
#: templates/stats.html.ep:11
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Los datos del gráfico no se actualizan en tiempo real."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:172
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "La imagen %1 ya se ha borrado."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:181
|
||||
#: lib/Lutim/Controller.pm:186
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "La imagen %1 se ha borrado correctamente"
|
||||
|
||||
#: lib/Lutim/Controller.pm:109
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Se ha modificado correctamente el tiempo de la imagen"
|
||||
|
||||
#: templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr "Las imágenes se cifran en el servidor (Lutim no guarda la clave)."
|
||||
|
||||
#: templates/about.html.ep:5
|
||||
msgid "The images you post on Lutim can be stored indefinitely or be deleted at first view or after a delay selected from those proposed."
|
||||
msgstr "Puede, opcionalmente, solicitar que la imagen publicada en Lutim se elimine con la primera vista (o descarga) o tras un tiempo seleccionado de entre varios propuestos."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:428
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr "No más URL disponibles. Inténtelo de nuevo o contacte con el administrador. %1"
|
||||
|
||||
#: templates/index.html.ep:60
|
||||
#: templates/partial/lutim.js.ep:46
|
||||
msgid "Tweet it!"
|
||||
msgstr "¡Tuitéalo!"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
#: lib/Lutim/Controller.pm:215
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "No se ha podido encontrar la imagen %1."
|
||||
|
||||
#: lib/Lutim.pm:66
|
||||
#: lib/Lutim/Controller.pm:518
|
||||
#: lib/Lutim/Controller.pm:564
|
||||
#: lib/Lutim/Controller.pm:608
|
||||
#: lib/Lutim/Controller.pm:648
|
||||
#: lib/Lutim/Controller.pm:660
|
||||
#: lib/Lutim/Controller.pm:671
|
||||
#: lib/Lutim/Controller.pm:708
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "No se ha podido encontrar la imagen: ha sido borrada."
|
||||
|
||||
#: lib/Lutim/Controller.pm:85
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Imposible recuperar el contador"
|
||||
|
||||
#: templates/about.html.ep:17
|
||||
msgid "Unlike many image sharing services, you don't give us rights on uploaded images."
|
||||
msgstr "A diferencia de muchos servicios de compartición de imágenes, usted no cede los derechos de las imágenes que sube."
|
||||
|
||||
#: templates/index.html.ep:162
|
||||
#: templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Subir una imagen con la URL"
|
||||
|
||||
#: templates/myfiles.html.ep:17
|
||||
msgid "Uploaded at"
|
||||
msgstr "Enviado el"
|
||||
|
||||
#: templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Archivos enviados por día"
|
||||
|
||||
#. ($config->{contact})
|
||||
#: lib/Lutim.pm:170
|
||||
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
|
||||
msgstr "La carga está deshabilitada en estos momentos, por favor inténtelo más tarde o contacte con el administrador (%1)."
|
||||
|
||||
#: templates/index.html.ep:65
|
||||
#: templates/index.html.ep:67
|
||||
#: templates/myfiles.html.ep:14
|
||||
#: templates/partial/lutim.js.ep:172
|
||||
#: templates/partial/lutim.js.ep:176
|
||||
msgid "View link"
|
||||
msgstr "Enlace de visualización"
|
||||
|
||||
#: templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "¿Y qué hay sobre el software que proporciona el servicio?"
|
||||
|
||||
#: templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "¿Qué es Lutim?"
|
||||
|
||||
#: templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "¿Quién posee los derechos de las imágenes que se suben a Lutim?"
|
||||
|
||||
#: templates/about.html.ep:12
|
||||
msgid "Yes, it is! On the other side, for legal reasons, your IP address will be stored when you send an image. Don't panic, it is normally the case of all sites on which you send files!"
|
||||
msgstr "¡Sí, lo es! Por otro lado, por razones legales, se almacena la dirección IP cuando se envía una imagen. Que no cunda el pánico, ¡es el caso habitual para todos los sitios a los cuales se envían ficheros!"
|
||||
|
||||
#. (url_for('/')
|
||||
#: templates/about.html.ep:10
|
||||
msgid "Yes, it is! On the other side, if you want to support the developer, you can do it via <a href=\"https://flattr.com/submit/auto?user_id=_SKy_&url=%1&title=Lutim&category=software\">Flattr</a> or with <a href=\"bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim\">BitCoin</a>."
|
||||
msgstr "¡Sí, lo es! Por otro lado, si quiere ayudar a apoyar al desarrollador, puede hacerlo vía <a href=\"https://flattr.com/submit/auto?user_id=_SKy_&url=%1&title=Lutim&category=software\">Flattr</a> o con <a href=\"bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim\">BitCoin</a>."
|
||||
|
||||
#: templates/about.html.ep:8
|
||||
msgid "You can, optionally, request that the image(s) posted on Lutim to be deleted at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr "Puede, opcionalmente, solicitar que la imagen publicada en Lutim se elimine con la primera vista (o descarga) o tras un tiempo seleccionado de entre varios propuestos."
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "y en"
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "desarrollador principal"
|
||||
|
||||
#: templates/index.html.ep:3
|
||||
msgid "no time limit"
|
||||
msgstr "Sin tiempo límite"
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "en"
|
||||
|
||||
#: templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "traducción al español"
|
||||
|
||||
#: templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "desarrollador de la webapp"
|
||||
@@ -1,479 +0,0 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
#
|
||||
# Translators:
|
||||
# Translators:
|
||||
# Luc Didry <luc@didry.org>, 2015
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Lutim\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"PO-Revision-Date: 2015-09-17 22:02+0000\n"
|
||||
"Last-Translator: Luc Didry <luc@didry.org>\n"
|
||||
"Language-Team: French (http://www.transifex.com/fiat-tux/lutim/language/fr/)\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: templates/partial/lutim.js.ep:238
|
||||
#: templates/partial/lutim.js.ep:247
|
||||
#: templates/partial/lutim.js.ep:248
|
||||
msgid "%1 days"
|
||||
msgstr "%1 jours"
|
||||
|
||||
#. ($total)
|
||||
#: templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 images envoyées sur cette instance depuis le début."
|
||||
|
||||
#: templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-ou-"
|
||||
|
||||
#: templates/index.html.ep:5
|
||||
msgid "1 year"
|
||||
msgstr "1 an"
|
||||
|
||||
#: templates/index.html.ep:4
|
||||
#: templates/partial/lutim.js.ep:247
|
||||
msgid "24 hours"
|
||||
msgstr "24 heures"
|
||||
|
||||
#: templates/myfiles.html.ep:79
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr " : Erreur en essayant de récupérer le compteur."
|
||||
|
||||
#: lib/Lutim/Controller.pm:270
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Une erreur est survenue lors du téléchargement de l'image."
|
||||
|
||||
#: templates/about.html.ep:40
|
||||
#: templates/myfiles.html.ep:27
|
||||
#: templates/stats.html.ep:13
|
||||
msgid "Back to homepage"
|
||||
msgstr "Retour à la page d'accueil"
|
||||
|
||||
#: templates/index.html.ep:193
|
||||
#: templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Cliquez pour utiliser le navigateur de fichier"
|
||||
|
||||
#: templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Contributeurs"
|
||||
|
||||
#: templates/partial/lutim.js.ep:313
|
||||
#: templates/partial/lutim.js.ep:361
|
||||
#: templates/partial/lutim.js.ep:435
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Copier tous les liens de visualisation dans le presse-papier"
|
||||
|
||||
#: templates/index.html.ep:18
|
||||
#: templates/index.html.ep:36
|
||||
#: templates/index.html.ep:69
|
||||
#: templates/index.html.ep:77
|
||||
#: templates/index.html.ep:85
|
||||
#: templates/index.html.ep:93
|
||||
#: templates/partial/lutim.js.ep:180
|
||||
#: templates/partial/lutim.js.ep:192
|
||||
#: templates/partial/lutim.js.ep:206
|
||||
#: templates/partial/lutim.js.ep:220
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Copier dans le presse-papier"
|
||||
|
||||
#: templates/myfiles.html.ep:15
|
||||
msgid "Counter"
|
||||
msgstr "Compteur"
|
||||
|
||||
#: templates/index.html.ep:115
|
||||
#: templates/index.html.ep:147
|
||||
#: templates/index.html.ep:178
|
||||
#: templates/myfiles.html.ep:16
|
||||
#: templates/partial/lutim.js.ep:259
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Supprimer au premier accès ?"
|
||||
|
||||
#: templates/index.html.ep:98
|
||||
#: templates/myfiles.html.ep:19
|
||||
#: templates/partial/common.js.ep:36
|
||||
msgid "Deletion link"
|
||||
msgstr "Lien de suppression"
|
||||
|
||||
#: templates/gallery.html.ep:6
|
||||
#: templates/gallery.html.ep:63
|
||||
msgid "Download all images"
|
||||
msgstr "Télécharger toutes les images"
|
||||
|
||||
#: templates/index.html.ep:81
|
||||
#: templates/index.html.ep:83
|
||||
#: templates/partial/lutim.js.ep:198
|
||||
#: templates/partial/lutim.js.ep:202
|
||||
msgid "Download link"
|
||||
msgstr "Lien de téléchargement"
|
||||
|
||||
#: templates/index.html.ep:28
|
||||
#: templates/index.html.ep:31
|
||||
msgid "Download zip link"
|
||||
msgstr "Lien de téléchargement de l'archive des images"
|
||||
|
||||
#: templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Déposez vos images ici"
|
||||
|
||||
#: templates/about.html.ep:7
|
||||
msgid "Drag and drop an image in the appropriate area or use the traditional way to send files and Lutim will provide you four URLs. One to view the image, an other to directly download it, one you can use on social networks and a last to delete the image when you want."
|
||||
msgstr "Faites glisser des images dans la zone prévue à cet effet ou sélectionnez un fichier de façon classique et Lutim vous fournira quatre URLs en retour. Une pour afficher l’image, une autre pour la télécharger directement, une pour l'utiliser sur les réseaux sociaux et une dernière pour supprimer votre image quand vous le souhaitez"
|
||||
|
||||
#: templates/index.html.ep:150
|
||||
#: templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Chiffrer l'image (Lutim ne stocke pas la clé)."
|
||||
|
||||
#: templates/partial/lutim.js.ep:74
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Une erreur est survenue en essayant de modifier l'image."
|
||||
|
||||
#: templates/stats.html.ep:9
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Évolution du nombre total de fichiers"
|
||||
|
||||
#: templates/myfiles.html.ep:18
|
||||
msgid "Expires at"
|
||||
msgstr "Expire le"
|
||||
|
||||
#: templates/myfiles.html.ep:13
|
||||
msgid "File name"
|
||||
msgstr "Nom du fichier"
|
||||
|
||||
#: templates/about.html.ep:24
|
||||
msgid "For more details, see the <a href=\"https://framagit.org/luc/lutim\">homepage of the project</a>."
|
||||
msgstr "Pour plus de détails, consultez la page <a href=\"https://framagit.org/luc/lutim\">Github</a> du projet."
|
||||
|
||||
#: templates/layouts/default.html.ep:50
|
||||
msgid "Fork me!"
|
||||
msgstr "Créez un fork !"
|
||||
|
||||
#: templates/index.html.ep:10
|
||||
#: templates/index.html.ep:13
|
||||
msgid "Gallery link"
|
||||
msgstr "Lien vers la galerie"
|
||||
|
||||
#: templates/partial/lutim.js.ep:127
|
||||
#: templates/partial/lutim.js.ep:145
|
||||
msgid "Hit Enter, then Ctrl+C to copy the short link"
|
||||
msgstr "Appuyez sur la touche Entrée puis faites Ctrl+C pour copier le lien"
|
||||
|
||||
#: templates/layouts/default.html.ep:45
|
||||
msgid "Homepage"
|
||||
msgstr "Accueil"
|
||||
|
||||
#: templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "Comment doit-on prononcer Lutim ?"
|
||||
|
||||
#: templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "Comment ça marche ?"
|
||||
|
||||
#: templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "Comment peut-on faire pour signaler une image ?"
|
||||
|
||||
#: templates/about.html.ep:14
|
||||
msgid "If the files are deleted if you ask it while posting it, their SHA512 footprint are retained."
|
||||
msgstr "Si les fichiers sont bien supprimés si vous en avez exprimé le choix, leur empreinte SHA512 est toutefois conservée."
|
||||
|
||||
#: templates/index.html.ep:163
|
||||
#: templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "URL de l'image"
|
||||
|
||||
#: lib/Lutim/Controller.pm:711
|
||||
msgid "Image not found."
|
||||
msgstr "Image non trouvée."
|
||||
|
||||
#: templates/layouts/default.html.ep:49
|
||||
msgid "Informations"
|
||||
msgstr "Informations"
|
||||
|
||||
#: templates/layouts/default.html.ep:55
|
||||
msgid "Install webapp"
|
||||
msgstr "Installer la webapp"
|
||||
|
||||
#: templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "C’est vraiment anonyme ?"
|
||||
|
||||
#: templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "C’est vraiment gratuit ?"
|
||||
|
||||
#: templates/about.html.ep:21
|
||||
msgid "Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr "Comme on prononce <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: templates/index.html.ep:153
|
||||
#: templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Conserver les données EXIF"
|
||||
|
||||
#: templates/index.html.ep:118
|
||||
#: templates/index.html.ep:166
|
||||
#: templates/index.html.ep:206
|
||||
#: templates/partial/lutim.js.ep:263
|
||||
msgid "Let's go!"
|
||||
msgstr "Allons-y !"
|
||||
|
||||
#: templates/layouts/default.html.ep:48
|
||||
msgid "License:"
|
||||
msgstr "Licence :"
|
||||
|
||||
#: templates/index.html.ep:89
|
||||
#: templates/index.html.ep:91
|
||||
#: templates/partial/lutim.js.ep:212
|
||||
#: templates/partial/lutim.js.ep:216
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Lien pour partager sur les réseaux sociaux"
|
||||
|
||||
#: templates/about.html.ep:4
|
||||
msgid "Lutim is a free (as in free beer) and anonymous image hosting service. It's also the name of the free (as in free speech) software which provides this service."
|
||||
msgstr "Lutim est un service gratuit et anonyme d’hébergement d’images. Il s’agit aussi du nom du logiciel (libre) qui fournit ce service."
|
||||
|
||||
#: templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Développeurs de l'application"
|
||||
|
||||
#: templates/index.html.ep:73
|
||||
#: templates/index.html.ep:75
|
||||
#: templates/partial/lutim.js.ep:186
|
||||
#: templates/partial/lutim.js.ep:189
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Syntaxe Markdown"
|
||||
|
||||
#: templates/layouts/default.html.ep:54
|
||||
#: templates/myfiles.html.ep:2
|
||||
msgid "My images"
|
||||
msgstr "Mes images"
|
||||
|
||||
#: templates/myfiles.html.ep:39
|
||||
msgid "No limit"
|
||||
msgstr "Pas de date d'expiration"
|
||||
|
||||
#: templates/index.html.ep:165
|
||||
#: templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Seules les images sont acceptées"
|
||||
|
||||
#: templates/myfiles.html.ep:6
|
||||
msgid "Only the images sent with this browser will be listed here. The informations are stored in localStorage: if you delete your localStorage data, you'll loose this informations."
|
||||
msgstr "Seules les images envoyées avec ce navigateur seront listées ici. Les informations sont stockées en localStorage : si vous supprimez vos données localStorage, vous perdrez ces informations."
|
||||
|
||||
#: templates/about.html.ep:16
|
||||
msgid "Only the uploader! (well, only if he's the only owner of the images' rights before the upload)"
|
||||
msgstr "Seulement l'envoyeur ! (enfin, seulement s'il possède des droits exclusifs sur les images avant de les envoyer)"
|
||||
|
||||
#. (config('contact')
|
||||
#: templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Veuillez contacter l’administrateur : %1"
|
||||
|
||||
#: templates/gallery.html.ep:51
|
||||
msgid "Please wait"
|
||||
msgstr "Veuillez patienter"
|
||||
|
||||
#: templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Envoyer une image"
|
||||
|
||||
#: templates/partial/lutim.js.ep:53
|
||||
msgid "Share it!"
|
||||
msgstr "Partagez !"
|
||||
|
||||
#: templates/layouts/default.html.ep:51
|
||||
msgid "Share on Twitter"
|
||||
msgstr "Partager sur Twitter"
|
||||
|
||||
#: templates/index.html.ep:133
|
||||
#: templates/partial/lutim.js.ep:274
|
||||
msgid "Something bad happened"
|
||||
msgstr "Un problème est survenu"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:719
|
||||
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
|
||||
msgstr "Quelque chose s'est mal passé lors de la création de l'archive. Veuillez réessayer plus tard ou contactez l'administrateur (%1)."
|
||||
|
||||
#: templates/about.html.ep:13
|
||||
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
|
||||
msgstr ""
|
||||
"L’IP de la personne ayant déposé l’image est stockée pendant un délai dépendant de l'administrateur de l'instance (pour l'instance officielle, dont le serveur est en France, c'est un délai\n"
|
||||
" d'un an)."
|
||||
|
||||
#: templates/about.html.ep:23
|
||||
msgid "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr "Le logiciel Lutim est un <a href=\"https://fr.wikipedia.org/wiki/Logiciel_libre\">logiciel libre</a>, ce qui vous permet de le télécharger et de l’installer sur votre propre serveur. Jetez un coup d’œil à l’<a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> pour voir quels sont vos droits"
|
||||
|
||||
#: lib/Lutim/Controller.pm:289
|
||||
msgid "The URL is not valid."
|
||||
msgstr "L'URL n'est pas valide."
|
||||
|
||||
#: lib/Lutim/Controller.pm:101
|
||||
#: lib/Lutim/Controller.pm:170
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "Le jeton de suppression est invalide."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:433
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "Le fichier %1 n'est pas une image."
|
||||
|
||||
#. ($max_file_size)
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#: lib/Lutim/Controller.pm:253
|
||||
#: lib/Lutim/Controller.pm:322
|
||||
#: templates/partial/lutim.js.ep:337
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "Le fichier dépasse la limite de taille (%1)"
|
||||
|
||||
#: templates/stats.html.ep:11
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Les données du graphique ne sont pas mises à jour en temps réél."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:172
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "L'image %1 a déjà été supprimée."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:181
|
||||
#: lib/Lutim/Controller.pm:186
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "L'image %1 a été supprimée avec succès."
|
||||
|
||||
#: lib/Lutim/Controller.pm:109
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Le délai de l'image a été modifié avec succès."
|
||||
|
||||
#: templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr "Les images sont chiffrées sur le serveur (Lutim ne stocke pas la clé)."
|
||||
|
||||
#: templates/about.html.ep:5
|
||||
msgid "The images you post on Lutim can be stored indefinitely or be deleted at first view or after a delay selected from those proposed."
|
||||
msgstr "Les images déposées sur Lutim peuvent être stockées indéfiniment, ou s’effacer dès le premier affichage ou au bout du délai choisi parmi ceux proposés."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:428
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr "Il n'y a plus d'URL disponible. Veuillez réessayer ou contacter l'administrateur. %1."
|
||||
|
||||
#: templates/index.html.ep:60
|
||||
#: templates/partial/lutim.js.ep:46
|
||||
msgid "Tweet it!"
|
||||
msgstr "Tweetez !"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
#: lib/Lutim/Controller.pm:215
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Impossible de trouver l'image %1."
|
||||
|
||||
#: lib/Lutim.pm:66
|
||||
#: lib/Lutim/Controller.pm:518
|
||||
#: lib/Lutim/Controller.pm:564
|
||||
#: lib/Lutim/Controller.pm:608
|
||||
#: lib/Lutim/Controller.pm:648
|
||||
#: lib/Lutim/Controller.pm:660
|
||||
#: lib/Lutim/Controller.pm:671
|
||||
#: lib/Lutim/Controller.pm:708
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Impossible de trouver l'image : elle a été supprimée."
|
||||
|
||||
#: lib/Lutim/Controller.pm:85
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Impossible de récupérer le compteur"
|
||||
|
||||
#: templates/about.html.ep:17
|
||||
msgid "Unlike many image sharing services, you don't give us rights on uploaded images."
|
||||
msgstr "Au contraire de la majorité des services de partages d'image, vous ne nous cédez aucun droit sur les images envoyées."
|
||||
|
||||
#: templates/index.html.ep:162
|
||||
#: templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Déposer une image par son URL"
|
||||
|
||||
#: templates/myfiles.html.ep:17
|
||||
msgid "Uploaded at"
|
||||
msgstr "Envoyé le"
|
||||
|
||||
#: templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Fichiers envoyés, par jour"
|
||||
|
||||
#. ($config->{contact})
|
||||
#: lib/Lutim.pm:170
|
||||
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
|
||||
msgstr "L'envoi d'images est actuellement désactivé, veuillez réessayer plus tard ou contacter l'administrateur (%1)."
|
||||
|
||||
#: templates/index.html.ep:65
|
||||
#: templates/index.html.ep:67
|
||||
#: templates/myfiles.html.ep:14
|
||||
#: templates/partial/lutim.js.ep:172
|
||||
#: templates/partial/lutim.js.ep:176
|
||||
msgid "View link"
|
||||
msgstr "Lien d'affichage"
|
||||
|
||||
#: templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "Et à propos du logiciel qui fournit le service ?"
|
||||
|
||||
#: templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "Qu’est-ce que Lutim ?"
|
||||
|
||||
#: templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Qui possède des droits sur les images envoyées sur Lutim ?"
|
||||
|
||||
#: templates/about.html.ep:12
|
||||
msgid "Yes, it is! On the other side, for legal reasons, your IP address will be stored when you send an image. Don't panic, it is normally the case of all sites on which you send files!"
|
||||
msgstr "Oui, ça l’est ! Par contre, pour des raisons légales, votre adresse IP sera enregistrée lorsque vous enverrez une image. Ne vous affolez pas, c’est de toute façon normalement le cas de tous les sites sur lesquels vous envoyez des fichiers !"
|
||||
|
||||
#. (url_for('/')
|
||||
#: templates/about.html.ep:10
|
||||
msgid "Yes, it is! On the other side, if you want to support the developer, you can do it via <a href=\"https://flattr.com/submit/auto?user_id=_SKy_&url=%1&title=Lutim&category=software\">Flattr</a> or with <a href=\"bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim\">BitCoin</a>."
|
||||
msgstr "Oui, ça l’est ! Par contre, si vous avez envie de soutenir le développeur, vous pouvez faire un microdon avec <a href=\"https://flattr.com/submit/auto?user_id=_SKy_&url=%1&title=Lutim&category=software\">Flattr</a> ou en <a href=\"bitcoin:1JCEtmx9pyzWfitMQj2pKAk8GNgyix7RmA?label=lutim\">BitCoin</a>."
|
||||
|
||||
#: templates/about.html.ep:8
|
||||
msgid "You can, optionally, request that the image(s) posted on Lutim to be deleted at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr "Vous pouvez, de façon facultative, demander à ce que la ou les images déposées sur Lutim soient supprimées après leur premier affichage (ou téléchargement) ou au bout d'un délai choisi parmi ceux proposés."
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "et sur"
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "développeur principal"
|
||||
|
||||
#: templates/index.html.ep:3
|
||||
msgid "no time limit"
|
||||
msgstr "Pas de limitation de durée"
|
||||
|
||||
#: templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "sur"
|
||||
|
||||
#: templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "traduction espagnole"
|
||||
|
||||
#: templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "développeur de la webapp"
|
||||
303
lib/Lutim/Plugin/Helpers.pm
Normal file
@@ -0,0 +1,303 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::Plugin::Helpers;
|
||||
use Mojo::Base 'Mojolicious::Plugin';
|
||||
use Mojo::Util qw(quote);
|
||||
use Mojo::File;
|
||||
use Crypt::CBC;
|
||||
use Data::Entropy qw(entropy_source);
|
||||
use DateTime;
|
||||
|
||||
sub register {
|
||||
my ($self, $app) = @_;
|
||||
|
||||
$app->plugin('PgURLHelper');
|
||||
|
||||
if ($app->config('dbtype') eq 'postgresql') {
|
||||
use Mojo::Pg;
|
||||
$app->helper(pg => \&_pg);
|
||||
|
||||
# Database migration
|
||||
my $migrations = Mojo::Pg::Migrations->new(pg => $app->pg);
|
||||
if ($app->mode eq 'development' && $ENV{LUTIM_DEBUG}) {
|
||||
$migrations->from_file('utilities/migrations/postgresql.sql')->migrate(0)->migrate(3);
|
||||
} else {
|
||||
$migrations->from_file('utilities/migrations/postgresql.sql')->migrate(3);
|
||||
}
|
||||
} elsif ($app->config('dbtype') eq 'sqlite') {
|
||||
# SQLite database migration if needed
|
||||
use Mojo::SQLite;
|
||||
$app->helper(sqlite => \&_sqlite);
|
||||
|
||||
my $sql = Mojo::SQLite->new('sqlite:'.$app->config('db_path'));
|
||||
my $migrations = $sql->migrations;
|
||||
if ($app->mode eq 'development' && $ENV{LUTIM_DEBUG}) {
|
||||
$migrations->from_file('utilities/migrations/sqlite.sql')->migrate(0)->migrate(2);
|
||||
} else {
|
||||
$migrations->from_file('utilities/migrations/sqlite.sql')->migrate(2);
|
||||
}
|
||||
}
|
||||
|
||||
$app->helper(render_file => \&_render_file);
|
||||
$app->helper(ip => \&_ip);
|
||||
$app->helper(provisioning => \&_provisioning);
|
||||
$app->helper(shortener => \&_shortener);
|
||||
$app->helper(stop_upload => \&_stop_upload);
|
||||
$app->helper(max_delay => \&_max_delay);
|
||||
$app->helper(default_delay => \&_default_delay);
|
||||
$app->helper(is_selected => \&_is_selected);
|
||||
$app->helper(crypt => \&_crypt);
|
||||
$app->helper(decrypt => \&_decrypt);
|
||||
$app->helper(delete_image => \&_delete_image);
|
||||
}
|
||||
|
||||
sub _pg {
|
||||
my $c = shift;
|
||||
|
||||
state $pg = Mojo::Pg->new($c->app->pg_url($c->app->config('pgdb')));
|
||||
return $pg;
|
||||
}
|
||||
|
||||
sub _sqlite {
|
||||
my $c = shift;
|
||||
|
||||
state $sqlite = Mojo::SQLite->new('sqlite:'.$c->app->config('db_path'));
|
||||
return $sqlite;
|
||||
}
|
||||
|
||||
sub _render_file {
|
||||
my $c = shift;
|
||||
my ($im_loaded, $img, $dl, $key, $thumb) = @_;
|
||||
|
||||
my ($filename, $path, $iv, $mediatype, $no_cache) = ($img->filename, $img->path, $img->iv, $img->mediatype, $img->delete_at_first_view);
|
||||
|
||||
my $expires = ($img->delete_at_day) ? $img->delete_at_day : 360;
|
||||
my $dt = DateTime->from_epoch( epoch => $expires * 86400 + $img->created_at);
|
||||
$dt->set_time_zone('GMT');
|
||||
$expires = $dt->strftime("%a, %d %b %Y %H:%M:%S GMT");
|
||||
|
||||
$dl = 'attachment' if ($mediatype =~ m/svg/);
|
||||
$filename = quote($filename);
|
||||
|
||||
unless (-f $path && -r $path) {
|
||||
$c->app->log->error("Cannot read file [$path]. error [$!]");
|
||||
$c->flash(
|
||||
msg => $c->l('Unable to find the image: it has been deleted.')
|
||||
);
|
||||
return 500;
|
||||
}
|
||||
|
||||
$mediatype =~ s/x-//;
|
||||
|
||||
my $headers = Mojo::Headers->new();
|
||||
if ($no_cache || defined($thumb)) {
|
||||
$headers->add('Cache-Control' => 'no-cache, no-store, max-age=0, must-revalidate');
|
||||
} else {
|
||||
$headers->add('Expires' => $expires);
|
||||
}
|
||||
$headers->add('Content-Type' => $mediatype.';name='.$filename);
|
||||
$headers->add('Content-Disposition' => $dl.';filename='.$filename);
|
||||
$c->res->content->headers($headers);
|
||||
|
||||
my $cache = $c->app->{images_cache}->compute($img->short, undef, sub {
|
||||
if ($key) {
|
||||
return {
|
||||
asset => $c->decrypt($key, $path, $iv),
|
||||
key => $key
|
||||
};
|
||||
} else {
|
||||
return {
|
||||
asset => Mojo::File->new($path)->slurp,
|
||||
};
|
||||
}
|
||||
});
|
||||
if ($key && $key ne $cache->{key}) {
|
||||
my $tmp = $c->decrypt($key, $path, $iv);
|
||||
$cache->{asset} = $tmp;
|
||||
$c->app->{images_cache}->replace(
|
||||
$img->short,
|
||||
{
|
||||
asset => $tmp,
|
||||
key => $key
|
||||
},
|
||||
);
|
||||
}
|
||||
# Extend expiration time
|
||||
my $asset = Mojo::Asset::Memory->new;
|
||||
$asset->add_chunk($cache->{asset});
|
||||
|
||||
if (defined $thumb && $im_loaded && $mediatype ne 'image/svg+xml' && $mediatype !~ m#image/(x-)?xcf# && $mediatype ne 'image/webp') { # ImageMagick don't work in Debian with svg (for now?)
|
||||
my $im = Image::Magick->new;
|
||||
$im->BlobToImage($asset->slurp);
|
||||
|
||||
# Create the thumbnail
|
||||
if ($thumb eq '') {
|
||||
$im->Resize(geometry => 'x'.$c->config('thumbnail_size'));
|
||||
} else {
|
||||
$im->Resize(geometry => $thumb);
|
||||
}
|
||||
|
||||
# Replace the asset with the thumbnail
|
||||
$asset = Mojo::Asset::Memory->new->add_chunk($im->ImageToBlob());
|
||||
}
|
||||
|
||||
$c->res->content->asset($asset);
|
||||
$headers->add('Content-Length' => $asset->size);
|
||||
|
||||
return $c->rendered(200);
|
||||
}
|
||||
|
||||
sub _ip {
|
||||
my $c = shift;
|
||||
my $ip_only = shift || 0;
|
||||
|
||||
my $proxy = $c->req->headers->header('X-Forwarded-For');
|
||||
|
||||
my $ip = ($proxy) ? $proxy : $c->tx->remote_address;
|
||||
|
||||
my $remote_port = (defined($c->req->headers->header('X-Remote-Port'))) ? $c->req->headers->header('X-Remote-Port') : $c->tx->remote_port;
|
||||
|
||||
return ($ip_only) ? $ip : "$ip remote port:$remote_port";
|
||||
}
|
||||
|
||||
sub _provisioning {
|
||||
my $c = shift;
|
||||
|
||||
# Create some short patterns for provisioning
|
||||
my $img = Lutim::DB::Image->new(app => $c->app);
|
||||
if ($img->count_empty < $c->app->config('provisioning')) {
|
||||
for (my $i = 0; $i < $c->app->config('provis_step'); $i++) {
|
||||
my $short;
|
||||
do {
|
||||
$short = $c->shortener($c->app->config('length'));
|
||||
} while ($img->count_short($short) || $short eq 'about' || $short eq 'stats' || $short eq 'd' || $short eq 'm' || $short eq 'gallery' || $short eq 'zip' || $short eq 'infos');
|
||||
|
||||
$img->short($short)
|
||||
->counter(0)
|
||||
->enabled(1)
|
||||
->delete_at_first_view(0)
|
||||
->delete_at_day(0)
|
||||
->mod_token($c->shortener($c->app->config('token_length')))
|
||||
->write;
|
||||
|
||||
$img = Lutim::DB::Image->new(app => $c->app);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
sub _shortener {
|
||||
my $c = shift;
|
||||
my $length = shift;
|
||||
|
||||
my @chars = ('a'..'z','A'..'Z','0'..'9');
|
||||
my $result = '';
|
||||
foreach (1..$length) {
|
||||
$result .= $chars[entropy_source->get_int(scalar(@chars))];
|
||||
}
|
||||
return $result;
|
||||
}
|
||||
|
||||
sub _stop_upload {
|
||||
my $c = shift;
|
||||
|
||||
if (-f 'stop-upload' || -f 'stop-upload.manual') {
|
||||
$c->stash(
|
||||
stop_upload => $c->l('Uploading is currently disabled, please try later or contact the administrator (%1).', $c->app->config('contact'))
|
||||
);
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub _max_delay {
|
||||
my $c = shift;
|
||||
|
||||
return $c->app->config('max_delay') if ($c->app->config('max_delay') >= 0);
|
||||
|
||||
warn "max_delay set to a negative value. Default to 0.";
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub _default_delay {
|
||||
my $c = shift;
|
||||
|
||||
return $c->app->config('default_delay') if ($c->app->config('default_delay') >= 0);
|
||||
|
||||
warn "default_delay set to a negative value. Default to 0.";
|
||||
return 0;
|
||||
}
|
||||
|
||||
sub _is_selected {
|
||||
my $c = shift;
|
||||
my $num = shift;
|
||||
|
||||
return ($num == $c->default_delay) ? 'selected="selected"' : '';
|
||||
}
|
||||
|
||||
sub _crypt {
|
||||
my $c = shift;
|
||||
my $upload = shift;
|
||||
my $filename = shift;
|
||||
|
||||
my $key = $c->shortener($c->config('crypto_key_length'));
|
||||
my $iv = $c->shortener(8);
|
||||
|
||||
my $cipher = Crypt::CBC->new(
|
||||
-key => $key,
|
||||
-cipher => 'Blowfish',
|
||||
-header => 'none',
|
||||
-iv => $iv
|
||||
);
|
||||
|
||||
$cipher->start('encrypting');
|
||||
|
||||
my $crypt_asset = Mojo::Asset::File->new;
|
||||
|
||||
$crypt_asset->add_chunk($cipher->crypt($upload->slurp));
|
||||
$crypt_asset->add_chunk($cipher->finish);
|
||||
|
||||
my $crypt_upload = Mojo::Upload->new;
|
||||
$crypt_upload->filename($filename);
|
||||
$crypt_upload->asset($crypt_asset);
|
||||
|
||||
return ($crypt_upload, $key, $iv);
|
||||
}
|
||||
|
||||
sub _decrypt {
|
||||
my $c = shift;
|
||||
my $key = shift;
|
||||
my $file = shift;
|
||||
my $iv = shift;
|
||||
$iv = 'dupajasi' unless $iv;
|
||||
|
||||
my $cipher = Crypt::CBC->new(
|
||||
-key => $key,
|
||||
-cipher => 'Blowfish',
|
||||
-header => 'none',
|
||||
-iv => $iv
|
||||
);
|
||||
|
||||
$cipher->start('decrypting');
|
||||
|
||||
my $decrypt_asset = Mojo::Asset::File->new;
|
||||
|
||||
open(my $f, "<",$file) or die "Unable to read encrypted file: $!";
|
||||
binmode $f;
|
||||
while (read($f, my $buffer, 1024)) {
|
||||
$decrypt_asset->add_chunk($cipher->crypt($buffer));
|
||||
}
|
||||
$decrypt_asset->add_chunk($cipher->finish) ;
|
||||
|
||||
return $decrypt_asset->slurp;
|
||||
}
|
||||
|
||||
sub _delete_image {
|
||||
my $c = shift;
|
||||
my $img = shift;
|
||||
if ($c->app->{images_cache}) {
|
||||
$c->app->{images_cache}->remove($img->short);
|
||||
}
|
||||
unlink $img->path or warn "Could not unlink ".$img->path.": $!";
|
||||
$img->disable();
|
||||
}
|
||||
|
||||
1;
|
||||
38
lib/Lutim/Plugin/Lang.pm
Normal file
@@ -0,0 +1,38 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Lutim::Plugin::Lang;
|
||||
use Mojo::Base 'Mojolicious::Plugin';
|
||||
use Mojo::Collection;
|
||||
use Mojo::File;
|
||||
|
||||
sub register {
|
||||
my ($self, $app) = @_;
|
||||
|
||||
$app->helper(available_langs => \&_available_langs);
|
||||
|
||||
$app->hook(
|
||||
before_dispatch => sub {
|
||||
my $c = shift;
|
||||
$c->languages($c->cookie('lutim_lang')) if $c->cookie('lutim_lang');
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
sub _available_langs {
|
||||
my $c = shift;
|
||||
|
||||
state $langs = Mojo::Collection->new(
|
||||
glob($c->app->home->rel_file('themes/'.$c->config('theme').'/lib/Lutim/I18N/*po')),
|
||||
glob($c->app->home->rel_file('themes/default/lib/Lutim/I18N/*po'))
|
||||
)->map(
|
||||
sub {
|
||||
Mojo::File->new($_)->basename('.po');
|
||||
}
|
||||
)->uniq->sort(
|
||||
sub {
|
||||
$c->l($a) cmp $c->l($b)
|
||||
}
|
||||
)->to_array;
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
package LutimModel;
|
||||
use Mojolicious;
|
||||
use FindBin qw($Bin);
|
||||
use File::Spec qw(catfile);
|
||||
|
||||
BEGIN {
|
||||
my $m = Mojolicious->new;
|
||||
our $config = $m->plugin('Config' =>
|
||||
{
|
||||
file => File::Spec->catfile($Bin, '..' ,'lutim.conf'),
|
||||
default => {
|
||||
db_path => 'lutim.db'
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
# Create database
|
||||
use ORLite {
|
||||
file => $config->{db_path},
|
||||
unicode => 1,
|
||||
create => sub {
|
||||
my $dbh = shift;
|
||||
$dbh->do(
|
||||
'CREATE TABLE lutim (
|
||||
short TEXT PRIMARY KEY,
|
||||
path TEXT,
|
||||
footprint TEXT,
|
||||
enabled INTEGER,
|
||||
mediatype TEXT,
|
||||
filename TEXT,
|
||||
counter INTEGER,
|
||||
delete_at_first_view INTEGER,
|
||||
delete_at_day INTEGER,
|
||||
created_at INTEGER,
|
||||
created_by TEXT,
|
||||
last_access_at INTEGER,
|
||||
mod_token TEXT,
|
||||
width INTEGER,
|
||||
height INTEGER)'
|
||||
);
|
||||
return 1;
|
||||
}
|
||||
};
|
||||
|
||||
1;
|
||||
@@ -1,5 +1,7 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
package Mounter;
|
||||
use Mojo::Base 'Mojolicious';
|
||||
use Mojo::File;
|
||||
use FindBin qw($Bin);
|
||||
use File::Spec qw(catfile);
|
||||
|
||||
@@ -9,11 +11,44 @@ sub startup {
|
||||
|
||||
push @{$self->commands->namespaces}, 'Lutim::Command';
|
||||
|
||||
my $cfile = Mojo::File->new($Bin, '..' , 'lutim.conf');
|
||||
if (defined $ENV{MOJO_CONFIG}) {
|
||||
$cfile = Mojo::File->new($ENV{MOJO_CONFIG});
|
||||
unless (-e $cfile->to_abs) {
|
||||
$cfile = Mojo::File->new($Bin, '..', $ENV{MOJO_CONFIG});
|
||||
}
|
||||
}
|
||||
my $config = $self->plugin('Config' =>
|
||||
{
|
||||
file => File::Spec->catfile($Bin, '..' ,'lutim.conf'),
|
||||
file => $cfile,
|
||||
default => {
|
||||
prefix => '/'
|
||||
provisioning => 100,
|
||||
provis_step => 5,
|
||||
length => 8,
|
||||
always_encrypt => 0,
|
||||
anti_flood_delay => 5,
|
||||
tweet_card_via => '@framasky',
|
||||
max_file_size => 10*1024*1024,
|
||||
https => 0,
|
||||
proposed_delays => '0,1,7,30,365',
|
||||
default_delay => 0,
|
||||
max_delay => 0,
|
||||
token_length => 24,
|
||||
crypto_key_length => 8,
|
||||
thumbnail_size => 100,
|
||||
theme => 'default',
|
||||
dbtype => 'sqlite',
|
||||
db_path => 'lutim.db',
|
||||
max_files_in_zip => 15,
|
||||
prefix => '/',
|
||||
minion => {
|
||||
enabled => 0,
|
||||
dbtype => 'sqlite',
|
||||
db_path => 'minion.db'
|
||||
},
|
||||
cache_max_size => 0,
|
||||
quiet_logs => 0,
|
||||
disable_img_stats => 0,
|
||||
}
|
||||
}
|
||||
);
|
||||
@@ -22,6 +57,20 @@ sub startup {
|
||||
|
||||
$self->app->log->warn('"url_sub_dir" configuration option is deprecated. Use "prefix" instead. "url_sub_dir" will be removed in the future') if (defined($config->{url_sub_dir}));
|
||||
|
||||
# Themes handling
|
||||
shift @{$self->static->paths};
|
||||
if ($config->{theme} ne 'default') {
|
||||
my $theme = $self->home->rel_file('themes/'.$config->{theme});
|
||||
push @{$self->static->paths}, $theme.'/public' if -d $theme.'/public';
|
||||
}
|
||||
push @{$self->static->paths}, $self->home->rel_file('themes/default/public');
|
||||
|
||||
# Cache static files
|
||||
$self->plugin('StaticCache');
|
||||
|
||||
# Helpers
|
||||
$self->plugin('Lutim::Plugin::Helpers');
|
||||
|
||||
$self->plugin('Mount' => {$config->{prefix} => File::Spec->catfile($Bin, '..', 'script', 'application')});
|
||||
}
|
||||
|
||||
|
||||
@@ -24,6 +24,10 @@
|
||||
# mandatory
|
||||
secrets => ['fdjsofjoihrei'],
|
||||
|
||||
# choose a theme. See the available themes in `themes` directory
|
||||
# optional, default is 'default'
|
||||
#theme => 'default',
|
||||
|
||||
# length of the images random URL
|
||||
# optional, default is 8
|
||||
#length => 8,
|
||||
@@ -61,7 +65,7 @@
|
||||
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
|
||||
|
||||
# if you want to include something in the right of the screen, put it here
|
||||
# here's an exemple to put the logo of your hoster
|
||||
# here's an example to put the logo of your hoster
|
||||
# optional, no default
|
||||
#hosted_by => 'My super hoster <img src="http://hoster.example.com" alt="Hoster logo">',
|
||||
|
||||
@@ -85,6 +89,10 @@
|
||||
# optional, default is 0 (no limit)
|
||||
#default_delay => 0,
|
||||
|
||||
# comma-separated values proposed for delays
|
||||
# optional, default is '0,1,7,30,365'
|
||||
#proposed_delays => '0,1,7,30,365',
|
||||
|
||||
# number of days after which the images will be deleted, even if they were uploaded with "no delay" (or value superior to max_delay)
|
||||
# a warning message will be displayed on homepage
|
||||
# optional, default is 0 (no limit)
|
||||
@@ -104,12 +112,58 @@
|
||||
# optional, defaut is /
|
||||
#prefix => '/',
|
||||
|
||||
# choose what database you want to use
|
||||
# valid choices are sqlite and postgresql (all lowercase)
|
||||
# optional, default is sqlite
|
||||
#dbtype => 'sqlite',
|
||||
|
||||
# SQLite ONLY - only used if dbtype is set to sqlite
|
||||
# define a path to the SQLite database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is lutim.db
|
||||
#db_path => 'lutim.db',
|
||||
|
||||
# PostgreSQL ONLY - only used if dbtype is set to postgresql
|
||||
# these are the credentials to access the PostgreSQL database
|
||||
# mandatory if you choosed postgresql as dbtype
|
||||
#pgdb => {
|
||||
# database => 'lutim',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
#},
|
||||
|
||||
# use Minion instead of directly increase counters
|
||||
# need to launch a minion worker service if enabled
|
||||
# optional, Minion is disabled by default
|
||||
#minion => {
|
||||
# enabled => 0,
|
||||
# # Which Minion backend to use?
|
||||
# # valid values are sqlite and postgresql (all lowercase)
|
||||
# # mandatory if Minion is enabled, default is sqlite
|
||||
# dbtype => 'sqlite',
|
||||
# # SQLite ONLY - only used if if you choose sqlite as Minion backend, define the path to the minion database
|
||||
# # you can define it relative to lutim directory or set an absolute path
|
||||
# # remember that it has to be in a directory writable by Lutim user
|
||||
# # optional, default is minion.db
|
||||
# db_path => 'minion.db',
|
||||
# # PostgreSQL ONLY - only used if you choose postgresql as Minion backend
|
||||
# # these are the credentials to access the Minion's PostgreSQL database
|
||||
# # mandatory if you choosed postgresql as Minion backend, no default
|
||||
# pgdb => {
|
||||
# database => 'lutim_minion',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
# }
|
||||
#},
|
||||
|
||||
# disable counters of images
|
||||
# set to 1 to disable counters
|
||||
# optional, counters are enabled by default
|
||||
#disable_img_stats => 0,
|
||||
|
||||
# define the height of the thumbnails generated at users' will
|
||||
# this is not the height of the thumbnails send after upload,
|
||||
# we're talking about thumbnails generated when someone asked for
|
||||
@@ -118,6 +172,30 @@
|
||||
# optional, default is 100 (pixels)
|
||||
#thumbnail_size => 100,
|
||||
|
||||
# maximum number of files that can be downloaded as a single zip archive
|
||||
# if too many files are asked, it results a timeout, so Lutim split the zip URL
|
||||
# in multiple URLs, each with max_file_size images.
|
||||
# timeout behavior depends heavily on your server ressources (CPU) and if images
|
||||
# are encrypted
|
||||
# optional, default is 15
|
||||
#max_files_in_zip => 15,
|
||||
|
||||
# maximum size (in MB) of memory allowed for the image cache
|
||||
# Lutim has a built-in memory-based image cache to accelerate responses to often-viewed images.
|
||||
# This setting makes the cache remove oldest viewed image if the cache size is over it.
|
||||
# WARNING: a cache is created for each hypnotoad worker, which by default is twice the number of
|
||||
# CPUs you have. See http://mojolicious.org/perldoc/Mojo/Server/Hypnotoad#workers for details
|
||||
# So, if you have 4 workers and set cache_max_size to 100, the real maximum size of RAM used for
|
||||
# cache is 400MB.
|
||||
# If set to 0, the cache is disabled
|
||||
# optional, default is 0
|
||||
#cache_max_size => 0,
|
||||
|
||||
# enable or disable Lutim built-in logs
|
||||
# set to 1 to disable logs
|
||||
# optional, default is 0
|
||||
#quiet_logs => 0,
|
||||
|
||||
##########################
|
||||
# Lutim cron jobs settings
|
||||
##########################
|
||||
|
||||
14
public/css/bootstrap.min.css
vendored
68
public/css/fontello-embedded.css
vendored
@@ -1,6 +0,0 @@
|
||||
@font-face {
|
||||
font-family: 'Henny_Penny';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Henny Penny'), local('HennyPenny-Regular'), url(../font/hennypenny.ttf) format('truetype');
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
@media (max-width: 767px) {
|
||||
body {
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
body {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 15px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.jsonly {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.thumbnail {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.hennypenny {
|
||||
font-family: 'Henny_Penny', cursive;
|
||||
font-size: 42px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin-right: 10px;
|
||||
}
|
||||
label.always-encrypt {
|
||||
display: none;
|
||||
}
|
||||
.link_nocol,
|
||||
.link_nocol:hover{
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#install-app img {
|
||||
height: 22px;
|
||||
}
|
||||
#install-app {
|
||||
display: none;
|
||||
}
|
||||
.form-control[readonly] {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.alert .form-group {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#copy-all {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
#gallery-url {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
175
public/js/bootstrap.js
vendored
@@ -1,175 +0,0 @@
|
||||
/*!
|
||||
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
||||
* Copyright 2011-2015 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
/*!
|
||||
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=1ae09bdf270195e14997)
|
||||
* Config saved to config.json and https://gist.github.com/1ae09bdf270195e14997
|
||||
*/
|
||||
if (typeof jQuery === 'undefined') {
|
||||
throw new Error('Bootstrap\'s JavaScript requires jQuery')
|
||||
}
|
||||
+function ($) {
|
||||
'use strict';
|
||||
var version = $.fn.jquery.split(' ')[0].split('.')
|
||||
if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1)) {
|
||||
throw new Error('Bootstrap\'s JavaScript requires jQuery version 1.9.1 or higher')
|
||||
}
|
||||
}(jQuery);
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: alert.js v3.3.5
|
||||
* http://getbootstrap.com/javascript/#alerts
|
||||
* ========================================================================
|
||||
* Copyright 2011-2015 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
|
||||
+function ($) {
|
||||
'use strict';
|
||||
|
||||
// ALERT CLASS DEFINITION
|
||||
// ======================
|
||||
|
||||
var dismiss = '[data-dismiss="alert"]'
|
||||
var Alert = function (el) {
|
||||
$(el).on('click', dismiss, this.close)
|
||||
}
|
||||
|
||||
Alert.VERSION = '3.3.5'
|
||||
|
||||
Alert.TRANSITION_DURATION = 150
|
||||
|
||||
Alert.prototype.close = function (e) {
|
||||
var $this = $(this)
|
||||
var selector = $this.attr('data-target')
|
||||
|
||||
if (!selector) {
|
||||
selector = $this.attr('href')
|
||||
selector = selector && selector.replace(/.*(?=#[^\s]*$)/, '') // strip for ie7
|
||||
}
|
||||
|
||||
var $parent = $(selector)
|
||||
|
||||
if (e) e.preventDefault()
|
||||
|
||||
if (!$parent.length) {
|
||||
$parent = $this.closest('.alert')
|
||||
}
|
||||
|
||||
$parent.trigger(e = $.Event('close.bs.alert'))
|
||||
|
||||
if (e.isDefaultPrevented()) return
|
||||
|
||||
$parent.removeClass('in')
|
||||
|
||||
function removeElement() {
|
||||
// detach from parent, fire event then clean up data
|
||||
$parent.detach().trigger('closed.bs.alert').remove()
|
||||
}
|
||||
|
||||
$.support.transition && $parent.hasClass('fade') ?
|
||||
$parent
|
||||
.one('bsTransitionEnd', removeElement)
|
||||
.emulateTransitionEnd(Alert.TRANSITION_DURATION) :
|
||||
removeElement()
|
||||
}
|
||||
|
||||
|
||||
// ALERT PLUGIN DEFINITION
|
||||
// =======================
|
||||
|
||||
function Plugin(option) {
|
||||
return this.each(function () {
|
||||
var $this = $(this)
|
||||
var data = $this.data('bs.alert')
|
||||
|
||||
if (!data) $this.data('bs.alert', (data = new Alert(this)))
|
||||
if (typeof option == 'string') data[option].call($this)
|
||||
})
|
||||
}
|
||||
|
||||
var old = $.fn.alert
|
||||
|
||||
$.fn.alert = Plugin
|
||||
$.fn.alert.Constructor = Alert
|
||||
|
||||
|
||||
// ALERT NO CONFLICT
|
||||
// =================
|
||||
|
||||
$.fn.alert.noConflict = function () {
|
||||
$.fn.alert = old
|
||||
return this
|
||||
}
|
||||
|
||||
|
||||
// ALERT DATA-API
|
||||
// ==============
|
||||
|
||||
$(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)
|
||||
|
||||
}(jQuery);
|
||||
|
||||
/* ========================================================================
|
||||
* Bootstrap: transition.js v3.3.5
|
||||
* http://getbootstrap.com/javascript/#transitions
|
||||
* ========================================================================
|
||||
* Copyright 2011-2015 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
* ======================================================================== */
|
||||
|
||||
|
||||
+function ($) {
|
||||
'use strict';
|
||||
|
||||
// CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
|
||||
// ============================================================
|
||||
|
||||
function transitionEnd() {
|
||||
var el = document.createElement('bootstrap')
|
||||
|
||||
var transEndEventNames = {
|
||||
WebkitTransition : 'webkitTransitionEnd',
|
||||
MozTransition : 'transitionend',
|
||||
OTransition : 'oTransitionEnd otransitionend',
|
||||
transition : 'transitionend'
|
||||
}
|
||||
|
||||
for (var name in transEndEventNames) {
|
||||
if (el.style[name] !== undefined) {
|
||||
return { end: transEndEventNames[name] }
|
||||
}
|
||||
}
|
||||
|
||||
return false // explicit for ie8 ( ._.)
|
||||
}
|
||||
|
||||
// http://blog.alexmaccaw.com/css-transitions
|
||||
$.fn.emulateTransitionEnd = function (duration) {
|
||||
var called = false
|
||||
var $el = this
|
||||
$(this).one('bsTransitionEnd', function () { called = true })
|
||||
var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
|
||||
setTimeout(callback, duration)
|
||||
return this
|
||||
}
|
||||
|
||||
$(function () {
|
||||
$.support.transition = transitionEnd()
|
||||
|
||||
if (!$.support.transition) return
|
||||
|
||||
$.event.special.bsTransitionEnd = {
|
||||
bindType: $.support.transition.end,
|
||||
delegateType: $.support.transition.end,
|
||||
handle: function (e) {
|
||||
if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
}(jQuery);
|
||||
11
public/js/bootstrap.min.js
vendored
@@ -1,11 +0,0 @@
|
||||
/*!
|
||||
* Bootstrap v3.3.5 (http://getbootstrap.com)
|
||||
* Copyright 2011-2015 Twitter, Inc.
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
||||
*/
|
||||
|
||||
/*!
|
||||
* Generated using the Bootstrap Customizer (http://getbootstrap.com/customize/?id=1ae09bdf270195e14997)
|
||||
* Config saved to config.json and https://gist.github.com/1ae09bdf270195e14997
|
||||
*/
|
||||
if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var n=t.fn.jquery.split(" ")[0].split(".");if(n[0]<2&&n[1]<9||1==n[0]&&9==n[1]&&n[2]<1)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher")}(jQuery),+function(t){"use strict";function n(n){return this.each(function(){var r=t(this),i=r.data("bs.alert");i||r.data("bs.alert",i=new e(this)),"string"==typeof n&&i[n].call(r)})}var r='[data-dismiss="alert"]',e=function(n){t(n).on("click",r,this.close)};e.VERSION="3.3.5",e.TRANSITION_DURATION=150,e.prototype.close=function(n){function r(){a.detach().trigger("closed.bs.alert").remove()}var i=t(this),s=i.attr("data-target");s||(s=i.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t(s);n&&n.preventDefault(),a.length||(a=i.closest(".alert")),a.trigger(n=t.Event("close.bs.alert")),n.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",r).emulateTransitionEnd(e.TRANSITION_DURATION):r())};var i=t.fn.alert;t.fn.alert=n,t.fn.alert.Constructor=e,t.fn.alert.noConflict=function(){return t.fn.alert=i,this},t(document).on("click.bs.alert.data-api",r,e.prototype.close)}(jQuery),+function(t){"use strict";function n(){var t=document.createElement("bootstrap"),n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var r in n)if(void 0!==t.style[r])return{end:n[r]};return!1}t.fn.emulateTransitionEnd=function(n){var r=!1,e=this;t(this).one("bsTransitionEnd",function(){r=!0});var i=function(){r||t(e).trigger(t.support.transition.end)};return setTimeout(i,n),this},t(function(){t.support.transition=n(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(n){return t(n.target).is(this)?n.handleObj.handler.apply(this,arguments):void 0}})})}(jQuery);
|
||||
4
public/js/jquery-2.1.0.min.js
vendored
11
push-trad-to-zanata.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
FILE=$1
|
||||
if [[ ! -e themes/default/lib/Lutim/I18N/$FILE.po ]]
|
||||
then
|
||||
echo "themes/default/lib/Lutim/I18N/$FILE.po does not exist. Exiting."
|
||||
exit 1
|
||||
else
|
||||
LOCALE=$(echo $FILE | sed -e "s@_@-@g")
|
||||
zanata-cli -q -B push --push-type trans -l $LOCALE
|
||||
fi
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
use Mojo::Base -strict;
|
||||
|
||||
use Test::More;
|
||||
use Test::Mojo;
|
||||
|
||||
my $t = Test::Mojo->new('Lutim');
|
||||
$t->get_ok('/')->status_is(200)->content_like(qr/Mojolicious/i);
|
||||
|
||||
done_testing();
|
||||
4
t/create-pg-testdb.sql
Normal file
@@ -0,0 +1,4 @@
|
||||
CREATE USER lutim WITH PASSWORD 'lutim';
|
||||
CREATE DATABASE lutimtest OWNER lutim;
|
||||
CREATE DATABASE lutim_miniontest OWNER lutim;
|
||||
|
||||
213
t/postgresql1.conf
Normal file
@@ -0,0 +1,213 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
{
|
||||
####################
|
||||
# Hypnotoad settings
|
||||
####################
|
||||
# see http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad for a full list of settings
|
||||
hypnotoad => {
|
||||
# array of IP addresses and ports you want to listen to
|
||||
listen => ['http://127.0.0.1:8080'],
|
||||
# if you use Lutim behind a reverse proxy like Nginx, you want to set proxy to 1
|
||||
# if you use Lutim directly, let it commented
|
||||
#proxy => 1,
|
||||
},
|
||||
|
||||
################
|
||||
# Lutim settings
|
||||
################
|
||||
|
||||
# put a way to contact you here and uncomment it
|
||||
# mandatory
|
||||
contact => 'John Doe, admin[at]example.com',
|
||||
|
||||
# random string used to encrypt cookies
|
||||
# mandatory
|
||||
secrets => ['fdjsofjoihrei'],
|
||||
|
||||
# choose a theme. See the available themes in `themes` directory
|
||||
# optional, default is 'default'
|
||||
#theme => 'default',
|
||||
|
||||
# length of the images random URL
|
||||
# optional, default is 8
|
||||
#length => 8,
|
||||
|
||||
# length of the encryption key
|
||||
# optional, default is 8
|
||||
#crypto_key_length => 8,
|
||||
|
||||
# how many URLs will be provisioned in a batch ?
|
||||
# optional, default is 5
|
||||
#provis_step => 5,
|
||||
|
||||
# max number of URLs to be provisioned
|
||||
# optional, default is 100
|
||||
#provisioning => 100,
|
||||
|
||||
# anti-flood protection delay, in seconds
|
||||
# users won't be able to ask Lutim to download images more than one per anti_flood_delay seconds
|
||||
# optional, default is 5
|
||||
#anti_flood_delay => 5,
|
||||
|
||||
# twitter account which will appear on twitter cards
|
||||
# see https://dev.twitter.com/docs/cards/validation/validator to register your Lutim instance on twitter
|
||||
# optional, default is @framasky
|
||||
#tweet_card_via => '@framasky',
|
||||
|
||||
# max image size, in octets
|
||||
# you can write it 10*1024*1024
|
||||
# optional, default is 10485760
|
||||
max_file_size => 1048576,
|
||||
|
||||
# if you want to have piwik statistics, provide a piwik image tracker
|
||||
# only the image tracker is allowed, no javascript
|
||||
# optional, no default
|
||||
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
|
||||
|
||||
# if you want to include something in the right of the screen, put it here
|
||||
# here's an example to put the logo of your hoster
|
||||
# optional, no default
|
||||
#hosted_by => 'My super hoster <img src="http://hoster.example.com" alt="Hoster logo">',
|
||||
|
||||
# DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED
|
||||
# Lutim now checks if the X-Forwarded-Proto header is present and equal to https.
|
||||
# set to 1 if you use Lutim behind a secure web server
|
||||
# optional, default is 0
|
||||
#https => 0,
|
||||
|
||||
# broadcast_message which will displayed on all pages of Lutim (but no in json response)
|
||||
# optional, no default
|
||||
broadcast_message => 'test broadcast message',
|
||||
|
||||
# array of authorized domains for API calls.
|
||||
# if you want to authorize everyone to use the API: ['*']
|
||||
# optional, no domains allowed by default
|
||||
#allowed_domains => ['http://1.example.com', 'http://2.example.com'],
|
||||
|
||||
# default time limit for files
|
||||
# valid values are 0, 1, 7, 30 and 365
|
||||
# optional, default is 0 (no limit)
|
||||
default_delay => 30,
|
||||
|
||||
# comma-separated values proposed for delays
|
||||
# optional, default is '0,1,7,30,365'
|
||||
#proposed_delays => '0,1,7,30,365',
|
||||
|
||||
# number of days after which the images will be deleted, even if they were uploaded with "no delay" (or value superior to max_delay)
|
||||
# a warning message will be displayed on homepage
|
||||
# optional, default is 0 (no limit)
|
||||
max_delay => 200,
|
||||
|
||||
# if set to 1, all the images will be encrypted and the encryption option will no be displayed
|
||||
# optional, default is 0
|
||||
#always_encrypt => 0,
|
||||
|
||||
# length of the image's delete token
|
||||
# optional, default is 24
|
||||
#token_length => 24,
|
||||
|
||||
# URL sub-directory in which you want Lutim to be accessible
|
||||
# example: you want to have Lutim under https://example.org/lutim/
|
||||
# => set prefix to '/lutim' or to '/lutim/', it doesn't matter
|
||||
# optional, defaut is /
|
||||
#prefix => '/',
|
||||
|
||||
# choose what database you want to use
|
||||
# valid choices are sqlite and postgresql (all lowercase)
|
||||
# optional, default is sqlite
|
||||
dbtype => 'postgresql',
|
||||
|
||||
# SQLite ONLY - only used if dbtype is set to sqlite
|
||||
# define a path to the SQLite database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is lutim.db
|
||||
#db_path => 'lutim.db',
|
||||
|
||||
# PostgreSQL ONLY - only used if dbtype is set to postgresql
|
||||
# these are the credentials to access the PostgreSQL database
|
||||
# mandatory if you choosed postgresql as dbtype
|
||||
pgdb => {
|
||||
database => 'lutimtest',
|
||||
host => 'localhost',
|
||||
user => 'lutim',
|
||||
pwd => 'lutim'
|
||||
},
|
||||
|
||||
# use Minion instead of directly increase counters
|
||||
# need to launch a minion worker service if enabled
|
||||
# optional, Minion is disabled by default
|
||||
#minion => {
|
||||
# enabled => 0,
|
||||
# # Which Minion backend to use?
|
||||
# # valid values are sqlite and postgresql (all lowercase)
|
||||
# # mandatory if Minion is enabled, default is sqlite
|
||||
# dbtype => 'sqlite',
|
||||
# # SQLite ONLY - only used if if you choose sqlite as Minion backend, define the path to the minion database
|
||||
# # you can define it relative to lutim directory or set an absolute path
|
||||
# # remember that it has to be in a directory writable by Lutim user
|
||||
# # optional, default is minion.db
|
||||
# db_path => 'minion.db',
|
||||
# # PostgreSQL ONLY - only used if you choose postgresql as Minion backend
|
||||
# # these are the credentials to access the Minion's PostgreSQL database
|
||||
# # mandatory if you choosed postgresql as Minion backend, no default
|
||||
# pgdb => {
|
||||
# database => 'lutim_minion',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
# }
|
||||
#},
|
||||
|
||||
# define the height of the thumbnails generated at users' will
|
||||
# this is not the height of the thumbnails send after upload,
|
||||
# we're talking about thumbnails generated when someone asked for
|
||||
# https://example.org/lutim/tesrinp?thumb
|
||||
# this works only if you have ImageMagick
|
||||
# optional, default is 100 (pixels)
|
||||
#thumbnail_size => 100,
|
||||
|
||||
# maximum number of files that can be downloaded as a single zip archive
|
||||
# if too many files are asked, it results a timeout, so Lutim split the zip URL
|
||||
# in multiple URLs, each with max_file_size images.
|
||||
# timeout behavior depends heavily on your server ressources (CPU) and if images
|
||||
# are encrypted
|
||||
# optional, default is 15
|
||||
#max_files_in_zip => 15,
|
||||
|
||||
# maximum size (in MB) of memory allowed for the image cache
|
||||
# Lutim has a built-in memory-based image cache to accelerate responses to often-viewed images.
|
||||
# This setting makes the cache remove oldest viewed image if the cache size is over it.
|
||||
# If set to 0, the cache is disabled
|
||||
# optional, default is 0
|
||||
#cache_max_size => 0,
|
||||
|
||||
##########################
|
||||
# Lutim cron jobs settings
|
||||
##########################
|
||||
|
||||
# number of days shown in /stats page (used with script/lutim cron stats)
|
||||
# optional, default is 365
|
||||
#stats_day_num => 365,
|
||||
|
||||
# number of days senders' IP addresses are kept in database
|
||||
# after that delay, they will be deleted from database (used with script/lutim cron cleanbdd)
|
||||
# optional, default is 365
|
||||
#keep_ip_during => 365,
|
||||
|
||||
# max size of the files directory, in octets
|
||||
# used by script/lutim cron watch to trigger an action
|
||||
# optional, no default
|
||||
max_total_size => 10*1024*1024*1024,
|
||||
|
||||
# default action when files directory is over max_total_size (used with script/lutim cron watch)
|
||||
# valid values are 'warn', 'stop-upload' and 'delete'
|
||||
# please, see readme
|
||||
# optional, default is 'warn'
|
||||
#policy_when_full => 'warn',
|
||||
|
||||
# images which are not viewed since delete_no_longer_viewed_files days will be deleted by the cron cleanfiles task
|
||||
# if delete_no_longer_viewed_files is not set, the no longer viewed files will NOT be deleted
|
||||
# optional, no default
|
||||
#delete_no_longer_viewed_files => 90
|
||||
};
|
||||
213
t/postgresql2.conf
Normal file
@@ -0,0 +1,213 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
{
|
||||
####################
|
||||
# Hypnotoad settings
|
||||
####################
|
||||
# see http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad for a full list of settings
|
||||
hypnotoad => {
|
||||
# array of IP addresses and ports you want to listen to
|
||||
listen => ['http://127.0.0.1:8080'],
|
||||
# if you use Lutim behind a reverse proxy like Nginx, you want to set proxy to 1
|
||||
# if you use Lutim directly, let it commented
|
||||
#proxy => 1,
|
||||
},
|
||||
|
||||
################
|
||||
# Lutim settings
|
||||
################
|
||||
|
||||
# put a way to contact you here and uncomment it
|
||||
# mandatory
|
||||
contact => 'John Doe, admin[at]example.com',
|
||||
|
||||
# random string used to encrypt cookies
|
||||
# mandatory
|
||||
secrets => ['fdjsofjoihrei'],
|
||||
|
||||
# choose a theme. See the available themes in `themes` directory
|
||||
# optional, default is 'default'
|
||||
#theme => 'default',
|
||||
|
||||
# length of the images random URL
|
||||
# optional, default is 8
|
||||
#length => 8,
|
||||
|
||||
# length of the encryption key
|
||||
# optional, default is 8
|
||||
#crypto_key_length => 8,
|
||||
|
||||
# how many URLs will be provisioned in a batch ?
|
||||
# optional, default is 5
|
||||
#provis_step => 5,
|
||||
|
||||
# max number of URLs to be provisioned
|
||||
# optional, default is 100
|
||||
#provisioning => 100,
|
||||
|
||||
# anti-flood protection delay, in seconds
|
||||
# users won't be able to ask Lutim to download images more than one per anti_flood_delay seconds
|
||||
# optional, default is 5
|
||||
#anti_flood_delay => 5,
|
||||
|
||||
# twitter account which will appear on twitter cards
|
||||
# see https://dev.twitter.com/docs/cards/validation/validator to register your Lutim instance on twitter
|
||||
# optional, default is @framasky
|
||||
#tweet_card_via => '@framasky',
|
||||
|
||||
# max image size, in octets
|
||||
# you can write it 10*1024*1024
|
||||
# optional, default is 10485760
|
||||
max_file_size => 1048576,
|
||||
|
||||
# if you want to have piwik statistics, provide a piwik image tracker
|
||||
# only the image tracker is allowed, no javascript
|
||||
# optional, no default
|
||||
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
|
||||
|
||||
# if you want to include something in the right of the screen, put it here
|
||||
# here's an example to put the logo of your hoster
|
||||
# optional, no default
|
||||
#hosted_by => 'My super hoster <img src="http://hoster.example.com" alt="Hoster logo">',
|
||||
|
||||
# DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED
|
||||
# Lutim now checks if the X-Forwarded-Proto header is present and equal to https.
|
||||
# set to 1 if you use Lutim behind a secure web server
|
||||
# optional, default is 0
|
||||
#https => 0,
|
||||
|
||||
# broadcast_message which will displayed on all pages of Lutim (but no in json response)
|
||||
# optional, no default
|
||||
broadcast_message => 'test broadcast message',
|
||||
|
||||
# array of authorized domains for API calls.
|
||||
# if you want to authorize everyone to use the API: ['*']
|
||||
# optional, no domains allowed by default
|
||||
#allowed_domains => ['http://1.example.com', 'http://2.example.com'],
|
||||
|
||||
# default time limit for files
|
||||
# valid values are 0, 1, 7, 30 and 365
|
||||
# optional, default is 0 (no limit)
|
||||
default_delay => 30,
|
||||
|
||||
# comma-separated values proposed for delays
|
||||
# optional, default is '0,1,7,30,365'
|
||||
#proposed_delays => '0,1,7,30,365',
|
||||
|
||||
# number of days after which the images will be deleted, even if they were uploaded with "no delay" (or value superior to max_delay)
|
||||
# a warning message will be displayed on homepage
|
||||
# optional, default is 0 (no limit)
|
||||
max_delay => 200,
|
||||
|
||||
# if set to 1, all the images will be encrypted and the encryption option will no be displayed
|
||||
# optional, default is 0
|
||||
#always_encrypt => 0,
|
||||
|
||||
# length of the image's delete token
|
||||
# optional, default is 24
|
||||
#token_length => 24,
|
||||
|
||||
# URL sub-directory in which you want Lutim to be accessible
|
||||
# example: you want to have Lutim under https://example.org/lutim/
|
||||
# => set prefix to '/lutim' or to '/lutim/', it doesn't matter
|
||||
# optional, defaut is /
|
||||
#prefix => '/',
|
||||
|
||||
# choose what database you want to use
|
||||
# valid choices are sqlite and postgresql (all lowercase)
|
||||
# optional, default is sqlite
|
||||
dbtype => 'postgresql',
|
||||
|
||||
# SQLite ONLY - only used if dbtype is set to sqlite
|
||||
# define a path to the SQLite database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is lutim.db
|
||||
db_path => 'testpg2.db',
|
||||
|
||||
# PostgreSQL ONLY - only used if dbtype is set to postgresql
|
||||
# these are the credentials to access the PostgreSQL database
|
||||
# mandatory if you choosed postgresql as dbtype
|
||||
pgdb => {
|
||||
database => 'lutimtest',
|
||||
host => 'localhost',
|
||||
user => 'lutim',
|
||||
pwd => 'lutim'
|
||||
},
|
||||
|
||||
# use Minion instead of directly increase counters
|
||||
# need to launch a minion worker service if enabled
|
||||
# optional, Minion is disabled by default
|
||||
minion => {
|
||||
enabled => 1,
|
||||
# # Which Minion backend to use?
|
||||
# # valid values are sqlite and postgresql (all lowercase)
|
||||
# # mandatory if Minion is enabled, default is sqlite
|
||||
# dbtype => 'sqlite',
|
||||
# # SQLite ONLY - only used if if you choose sqlite as Minion backend, define the path to the minion database
|
||||
# # you can define it relative to lutim directory or set an absolute path
|
||||
# # remember that it has to be in a directory writable by Lutim user
|
||||
# # optional, default is minion.db
|
||||
# db_path => 'minion.db',
|
||||
# # PostgreSQL ONLY - only used if you choose postgresql as Minion backend
|
||||
# # these are the credentials to access the Minion's PostgreSQL database
|
||||
# # mandatory if you choosed postgresql as Minion backend, no default
|
||||
# pgdb => {
|
||||
# database => 'lutim_minion',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
# }
|
||||
},
|
||||
|
||||
# define the height of the thumbnails generated at users' will
|
||||
# this is not the height of the thumbnails send after upload,
|
||||
# we're talking about thumbnails generated when someone asked for
|
||||
# https://example.org/lutim/tesrinp?thumb
|
||||
# this works only if you have ImageMagick
|
||||
# optional, default is 100 (pixels)
|
||||
#thumbnail_size => 100,
|
||||
|
||||
# maximum number of files that can be downloaded as a single zip archive
|
||||
# if too many files are asked, it results a timeout, so Lutim split the zip URL
|
||||
# in multiple URLs, each with max_file_size images.
|
||||
# timeout behavior depends heavily on your server ressources (CPU) and if images
|
||||
# are encrypted
|
||||
# optional, default is 15
|
||||
#max_files_in_zip => 15,
|
||||
|
||||
# maximum size (in MB) of memory allowed for the image cache
|
||||
# Lutim has a built-in memory-based image cache to accelerate responses to often-viewed images.
|
||||
# This setting makes the cache remove oldest viewed image if the cache size is over it.
|
||||
# If set to 0, the cache is disabled
|
||||
# optional, default is 0
|
||||
#cache_max_size => 0,
|
||||
|
||||
##########################
|
||||
# Lutim cron jobs settings
|
||||
##########################
|
||||
|
||||
# number of days shown in /stats page (used with script/lutim cron stats)
|
||||
# optional, default is 365
|
||||
#stats_day_num => 365,
|
||||
|
||||
# number of days senders' IP addresses are kept in database
|
||||
# after that delay, they will be deleted from database (used with script/lutim cron cleanbdd)
|
||||
# optional, default is 365
|
||||
#keep_ip_during => 365,
|
||||
|
||||
# max size of the files directory, in octets
|
||||
# used by script/lutim cron watch to trigger an action
|
||||
# optional, no default
|
||||
max_total_size => 10*1024*1024*1024,
|
||||
|
||||
# default action when files directory is over max_total_size (used with script/lutim cron watch)
|
||||
# valid values are 'warn', 'stop-upload' and 'delete'
|
||||
# please, see readme
|
||||
# optional, default is 'warn'
|
||||
#policy_when_full => 'warn',
|
||||
|
||||
# images which are not viewed since delete_no_longer_viewed_files days will be deleted by the cron cleanfiles task
|
||||
# if delete_no_longer_viewed_files is not set, the no longer viewed files will NOT be deleted
|
||||
# optional, no default
|
||||
#delete_no_longer_viewed_files => 90
|
||||
};
|
||||
213
t/postgresql3.conf
Normal file
@@ -0,0 +1,213 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
{
|
||||
####################
|
||||
# Hypnotoad settings
|
||||
####################
|
||||
# see http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad for a full list of settings
|
||||
hypnotoad => {
|
||||
# array of IP addresses and ports you want to listen to
|
||||
listen => ['http://127.0.0.1:8080'],
|
||||
# if you use Lutim behind a reverse proxy like Nginx, you want to set proxy to 1
|
||||
# if you use Lutim directly, let it commented
|
||||
#proxy => 1,
|
||||
},
|
||||
|
||||
################
|
||||
# Lutim settings
|
||||
################
|
||||
|
||||
# put a way to contact you here and uncomment it
|
||||
# mandatory
|
||||
contact => 'John Doe, admin[at]example.com',
|
||||
|
||||
# random string used to encrypt cookies
|
||||
# mandatory
|
||||
secrets => ['fdjsofjoihrei'],
|
||||
|
||||
# choose a theme. See the available themes in `themes` directory
|
||||
# optional, default is 'default'
|
||||
#theme => 'default',
|
||||
|
||||
# length of the images random URL
|
||||
# optional, default is 8
|
||||
#length => 8,
|
||||
|
||||
# length of the encryption key
|
||||
# optional, default is 8
|
||||
#crypto_key_length => 8,
|
||||
|
||||
# how many URLs will be provisioned in a batch ?
|
||||
# optional, default is 5
|
||||
#provis_step => 5,
|
||||
|
||||
# max number of URLs to be provisioned
|
||||
# optional, default is 100
|
||||
#provisioning => 100,
|
||||
|
||||
# anti-flood protection delay, in seconds
|
||||
# users won't be able to ask Lutim to download images more than one per anti_flood_delay seconds
|
||||
# optional, default is 5
|
||||
#anti_flood_delay => 5,
|
||||
|
||||
# twitter account which will appear on twitter cards
|
||||
# see https://dev.twitter.com/docs/cards/validation/validator to register your Lutim instance on twitter
|
||||
# optional, default is @framasky
|
||||
#tweet_card_via => '@framasky',
|
||||
|
||||
# max image size, in octets
|
||||
# you can write it 10*1024*1024
|
||||
# optional, default is 10485760
|
||||
max_file_size => 1048576,
|
||||
|
||||
# if you want to have piwik statistics, provide a piwik image tracker
|
||||
# only the image tracker is allowed, no javascript
|
||||
# optional, no default
|
||||
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
|
||||
|
||||
# if you want to include something in the right of the screen, put it here
|
||||
# here's an example to put the logo of your hoster
|
||||
# optional, no default
|
||||
#hosted_by => 'My super hoster <img src="http://hoster.example.com" alt="Hoster logo">',
|
||||
|
||||
# DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED
|
||||
# Lutim now checks if the X-Forwarded-Proto header is present and equal to https.
|
||||
# set to 1 if you use Lutim behind a secure web server
|
||||
# optional, default is 0
|
||||
#https => 0,
|
||||
|
||||
# broadcast_message which will displayed on all pages of Lutim (but no in json response)
|
||||
# optional, no default
|
||||
broadcast_message => 'test broadcast message',
|
||||
|
||||
# array of authorized domains for API calls.
|
||||
# if you want to authorize everyone to use the API: ['*']
|
||||
# optional, no domains allowed by default
|
||||
#allowed_domains => ['http://1.example.com', 'http://2.example.com'],
|
||||
|
||||
# default time limit for files
|
||||
# valid values are 0, 1, 7, 30 and 365
|
||||
# optional, default is 0 (no limit)
|
||||
default_delay => 30,
|
||||
|
||||
# comma-separated values proposed for delays
|
||||
# optional, default is '0,1,7,30,365'
|
||||
#proposed_delays => '0,1,7,30,365',
|
||||
|
||||
# number of days after which the images will be deleted, even if they were uploaded with "no delay" (or value superior to max_delay)
|
||||
# a warning message will be displayed on homepage
|
||||
# optional, default is 0 (no limit)
|
||||
max_delay => 200,
|
||||
|
||||
# if set to 1, all the images will be encrypted and the encryption option will no be displayed
|
||||
# optional, default is 0
|
||||
#always_encrypt => 0,
|
||||
|
||||
# length of the image's delete token
|
||||
# optional, default is 24
|
||||
#token_length => 24,
|
||||
|
||||
# URL sub-directory in which you want Lutim to be accessible
|
||||
# example: you want to have Lutim under https://example.org/lutim/
|
||||
# => set prefix to '/lutim' or to '/lutim/', it doesn't matter
|
||||
# optional, defaut is /
|
||||
#prefix => '/',
|
||||
|
||||
# choose what database you want to use
|
||||
# valid choices are sqlite and postgresql (all lowercase)
|
||||
# optional, default is sqlite
|
||||
dbtype => 'postgresql',
|
||||
|
||||
# SQLite ONLY - only used if dbtype is set to sqlite
|
||||
# define a path to the SQLite database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is lutim.db
|
||||
db_path => 'testpg3.db',
|
||||
|
||||
# PostgreSQL ONLY - only used if dbtype is set to postgresql
|
||||
# these are the credentials to access the PostgreSQL database
|
||||
# mandatory if you choosed postgresql as dbtype
|
||||
pgdb => {
|
||||
database => 'lutimtest',
|
||||
host => 'localhost',
|
||||
user => 'lutim',
|
||||
pwd => 'lutim'
|
||||
},
|
||||
|
||||
# use Minion instead of directly increase counters
|
||||
# need to launch a minion worker service if enabled
|
||||
# optional, Minion is disabled by default
|
||||
minion => {
|
||||
enabled => 1,
|
||||
# Which Minion backend to use?
|
||||
# valid values are sqlite and postgresql (all lowercase)
|
||||
# mandatory if Minion is enabled, default is sqlite
|
||||
dbtype => 'postgresql',
|
||||
# SQLite ONLY - only used if if you choose sqlite as Minion backend, define the path to the minion database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is minion.db
|
||||
db_path => 'minion.db',
|
||||
# PostgreSQL ONLY - only used if you choose postgresql as Minion backend
|
||||
# these are the credentials to access the Minion's PostgreSQL database
|
||||
# mandatory if you choosed postgresql as Minion backend, no default
|
||||
pgdb => {
|
||||
database => 'lutim_miniontest',
|
||||
host => 'localhost',
|
||||
user => 'lutim',
|
||||
pwd => 'lutim'
|
||||
}
|
||||
},
|
||||
|
||||
# define the height of the thumbnails generated at users' will
|
||||
# this is not the height of the thumbnails send after upload,
|
||||
# we're talking about thumbnails generated when someone asked for
|
||||
# https://example.org/lutim/tesrinp?thumb
|
||||
# this works only if you have ImageMagick
|
||||
# optional, default is 100 (pixels)
|
||||
#thumbnail_size => 100,
|
||||
|
||||
# maximum number of files that can be downloaded as a single zip archive
|
||||
# if too many files are asked, it results a timeout, so Lutim split the zip URL
|
||||
# in multiple URLs, each with max_file_size images.
|
||||
# timeout behavior depends heavily on your server ressources (CPU) and if images
|
||||
# are encrypted
|
||||
# optional, default is 15
|
||||
#max_files_in_zip => 15,
|
||||
|
||||
# maximum size (in MB) of memory allowed for the image cache
|
||||
# Lutim has a built-in memory-based image cache to accelerate responses to often-viewed images.
|
||||
# This setting makes the cache remove oldest viewed image if the cache size is over it.
|
||||
# If set to 0, the cache is disabled
|
||||
# optional, default is 0
|
||||
#cache_max_size => 0,
|
||||
|
||||
##########################
|
||||
# Lutim cron jobs settings
|
||||
##########################
|
||||
|
||||
# number of days shown in /stats page (used with script/lutim cron stats)
|
||||
# optional, default is 365
|
||||
#stats_day_num => 365,
|
||||
|
||||
# number of days senders' IP addresses are kept in database
|
||||
# after that delay, they will be deleted from database (used with script/lutim cron cleanbdd)
|
||||
# optional, default is 365
|
||||
#keep_ip_during => 365,
|
||||
|
||||
# max size of the files directory, in octets
|
||||
# used by script/lutim cron watch to trigger an action
|
||||
# optional, no default
|
||||
max_total_size => 10*1024*1024*1024,
|
||||
|
||||
# default action when files directory is over max_total_size (used with script/lutim cron watch)
|
||||
# valid values are 'warn', 'stop-upload' and 'delete'
|
||||
# please, see readme
|
||||
# optional, default is 'warn'
|
||||
#policy_when_full => 'warn',
|
||||
|
||||
# images which are not viewed since delete_no_longer_viewed_files days will be deleted by the cron cleanfiles task
|
||||
# if delete_no_longer_viewed_files is not set, the no longer viewed files will NOT be deleted
|
||||
# optional, no default
|
||||
#delete_no_longer_viewed_files => 90
|
||||
};
|
||||
213
t/sqlite1.conf
Normal file
@@ -0,0 +1,213 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
{
|
||||
####################
|
||||
# Hypnotoad settings
|
||||
####################
|
||||
# see http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad for a full list of settings
|
||||
hypnotoad => {
|
||||
# array of IP addresses and ports you want to listen to
|
||||
listen => ['http://127.0.0.1:8080'],
|
||||
# if you use Lutim behind a reverse proxy like Nginx, you want to set proxy to 1
|
||||
# if you use Lutim directly, let it commented
|
||||
#proxy => 1,
|
||||
},
|
||||
|
||||
################
|
||||
# Lutim settings
|
||||
################
|
||||
|
||||
# put a way to contact you here and uncomment it
|
||||
# mandatory
|
||||
contact => 'John Doe, admin[at]example.com',
|
||||
|
||||
# random string used to encrypt cookies
|
||||
# mandatory
|
||||
secrets => ['fdjsofjoihrei'],
|
||||
|
||||
# choose a theme. See the available themes in `themes` directory
|
||||
# optional, default is 'default'
|
||||
#theme => 'default',
|
||||
|
||||
# length of the images random URL
|
||||
# optional, default is 8
|
||||
#length => 8,
|
||||
|
||||
# length of the encryption key
|
||||
# optional, default is 8
|
||||
#crypto_key_length => 8,
|
||||
|
||||
# how many URLs will be provisioned in a batch ?
|
||||
# optional, default is 5
|
||||
#provis_step => 5,
|
||||
|
||||
# max number of URLs to be provisioned
|
||||
# optional, default is 100
|
||||
#provisioning => 100,
|
||||
|
||||
# anti-flood protection delay, in seconds
|
||||
# users won't be able to ask Lutim to download images more than one per anti_flood_delay seconds
|
||||
# optional, default is 5
|
||||
#anti_flood_delay => 5,
|
||||
|
||||
# twitter account which will appear on twitter cards
|
||||
# see https://dev.twitter.com/docs/cards/validation/validator to register your Lutim instance on twitter
|
||||
# optional, default is @framasky
|
||||
#tweet_card_via => '@framasky',
|
||||
|
||||
# max image size, in octets
|
||||
# you can write it 10*1024*1024
|
||||
# optional, default is 10485760
|
||||
max_file_size => 1048576,
|
||||
|
||||
# if you want to have piwik statistics, provide a piwik image tracker
|
||||
# only the image tracker is allowed, no javascript
|
||||
# optional, no default
|
||||
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
|
||||
|
||||
# if you want to include something in the right of the screen, put it here
|
||||
# here's an example to put the logo of your hoster
|
||||
# optional, no default
|
||||
#hosted_by => 'My super hoster <img src="http://hoster.example.com" alt="Hoster logo">',
|
||||
|
||||
# DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED
|
||||
# Lutim now checks if the X-Forwarded-Proto header is present and equal to https.
|
||||
# set to 1 if you use Lutim behind a secure web server
|
||||
# optional, default is 0
|
||||
#https => 0,
|
||||
|
||||
# broadcast_message which will displayed on all pages of Lutim (but no in json response)
|
||||
# optional, no default
|
||||
broadcast_message => 'test broadcast message',
|
||||
|
||||
# array of authorized domains for API calls.
|
||||
# if you want to authorize everyone to use the API: ['*']
|
||||
# optional, no domains allowed by default
|
||||
#allowed_domains => ['http://1.example.com', 'http://2.example.com'],
|
||||
|
||||
# default time limit for files
|
||||
# valid values are 0, 1, 7, 30 and 365
|
||||
# optional, default is 0 (no limit)
|
||||
default_delay => 30,
|
||||
|
||||
# comma-separated values proposed for delays
|
||||
# optional, default is '0,1,7,30,365'
|
||||
#proposed_delays => '0,1,7,30,365',
|
||||
|
||||
# number of days after which the images will be deleted, even if they were uploaded with "no delay" (or value superior to max_delay)
|
||||
# a warning message will be displayed on homepage
|
||||
# optional, default is 0 (no limit)
|
||||
max_delay => 200,
|
||||
|
||||
# if set to 1, all the images will be encrypted and the encryption option will no be displayed
|
||||
# optional, default is 0
|
||||
#always_encrypt => 0,
|
||||
|
||||
# length of the image's delete token
|
||||
# optional, default is 24
|
||||
#token_length => 24,
|
||||
|
||||
# URL sub-directory in which you want Lutim to be accessible
|
||||
# example: you want to have Lutim under https://example.org/lutim/
|
||||
# => set prefix to '/lutim' or to '/lutim/', it doesn't matter
|
||||
# optional, defaut is /
|
||||
#prefix => '/',
|
||||
|
||||
# choose what database you want to use
|
||||
# valid choices are sqlite and postgresql (all lowercase)
|
||||
# optional, default is sqlite
|
||||
dbtype => 'sqlite',
|
||||
|
||||
# SQLite ONLY - only used if dbtype is set to sqlite
|
||||
# define a path to the SQLite database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is lutim.db
|
||||
db_path => 'testsqlite1.db',
|
||||
|
||||
# PostgreSQL ONLY - only used if dbtype is set to postgresql
|
||||
# these are the credentials to access the PostgreSQL database
|
||||
# mandatory if you choosed postgresql as dbtype
|
||||
#pgdb => {
|
||||
# database => 'lutim',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
#},
|
||||
|
||||
# use Minion instead of directly increase counters
|
||||
# need to launch a minion worker service if enabled
|
||||
# optional, Minion is disabled by default
|
||||
#minion => {
|
||||
# enabled => 0,
|
||||
# # Which Minion backend to use?
|
||||
# # valid values are sqlite and postgresql (all lowercase)
|
||||
# # mandatory if Minion is enabled, default is sqlite
|
||||
# dbtype => 'sqlite',
|
||||
# # SQLite ONLY - only used if if you choose sqlite as Minion backend, define the path to the minion database
|
||||
# # you can define it relative to lutim directory or set an absolute path
|
||||
# # remember that it has to be in a directory writable by Lutim user
|
||||
# # optional, default is minion.db
|
||||
# db_path => 'minion.db',
|
||||
# # PostgreSQL ONLY - only used if you choose postgresql as Minion backend
|
||||
# # these are the credentials to access the Minion's PostgreSQL database
|
||||
# # mandatory if you choosed postgresql as Minion backend, no default
|
||||
# pgdb => {
|
||||
# database => 'lutim_minion',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
# }
|
||||
#},
|
||||
|
||||
# define the height of the thumbnails generated at users' will
|
||||
# this is not the height of the thumbnails send after upload,
|
||||
# we're talking about thumbnails generated when someone asked for
|
||||
# https://example.org/lutim/tesrinp?thumb
|
||||
# this works only if you have ImageMagick
|
||||
# optional, default is 100 (pixels)
|
||||
#thumbnail_size => 100,
|
||||
|
||||
# maximum number of files that can be downloaded as a single zip archive
|
||||
# if too many files are asked, it results a timeout, so Lutim split the zip URL
|
||||
# in multiple URLs, each with max_file_size images.
|
||||
# timeout behavior depends heavily on your server ressources (CPU) and if images
|
||||
# are encrypted
|
||||
# optional, default is 15
|
||||
#max_files_in_zip => 15,
|
||||
|
||||
# maximum size (in MB) of memory allowed for the image cache
|
||||
# Lutim has a built-in memory-based image cache to accelerate responses to often-viewed images.
|
||||
# This setting makes the cache remove oldest viewed image if the cache size is over it.
|
||||
# If set to 0, the cache is disabled
|
||||
# optional, default is 0
|
||||
#cache_max_size => 0,
|
||||
|
||||
##########################
|
||||
# Lutim cron jobs settings
|
||||
##########################
|
||||
|
||||
# number of days shown in /stats page (used with script/lutim cron stats)
|
||||
# optional, default is 365
|
||||
#stats_day_num => 365,
|
||||
|
||||
# number of days senders' IP addresses are kept in database
|
||||
# after that delay, they will be deleted from database (used with script/lutim cron cleanbdd)
|
||||
# optional, default is 365
|
||||
#keep_ip_during => 365,
|
||||
|
||||
# max size of the files directory, in octets
|
||||
# used by script/lutim cron watch to trigger an action
|
||||
# optional, no default
|
||||
max_total_size => 10*1024*1024*1024,
|
||||
|
||||
# default action when files directory is over max_total_size (used with script/lutim cron watch)
|
||||
# valid values are 'warn', 'stop-upload' and 'delete'
|
||||
# please, see readme
|
||||
# optional, default is 'warn'
|
||||
#policy_when_full => 'warn',
|
||||
|
||||
# images which are not viewed since delete_no_longer_viewed_files days will be deleted by the cron cleanfiles task
|
||||
# if delete_no_longer_viewed_files is not set, the no longer viewed files will NOT be deleted
|
||||
# optional, no default
|
||||
#delete_no_longer_viewed_files => 90
|
||||
};
|
||||
213
t/sqlite2.conf
Normal file
@@ -0,0 +1,213 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
{
|
||||
####################
|
||||
# Hypnotoad settings
|
||||
####################
|
||||
# see http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad for a full list of settings
|
||||
hypnotoad => {
|
||||
# array of IP addresses and ports you want to listen to
|
||||
listen => ['http://127.0.0.1:8080'],
|
||||
# if you use Lutim behind a reverse proxy like Nginx, you want to set proxy to 1
|
||||
# if you use Lutim directly, let it commented
|
||||
#proxy => 1,
|
||||
},
|
||||
|
||||
################
|
||||
# Lutim settings
|
||||
################
|
||||
|
||||
# put a way to contact you here and uncomment it
|
||||
# mandatory
|
||||
contact => 'John Doe, admin[at]example.com',
|
||||
|
||||
# random string used to encrypt cookies
|
||||
# mandatory
|
||||
secrets => ['fdjsofjoihrei'],
|
||||
|
||||
# choose a theme. See the available themes in `themes` directory
|
||||
# optional, default is 'default'
|
||||
#theme => 'default',
|
||||
|
||||
# length of the images random URL
|
||||
# optional, default is 8
|
||||
#length => 8,
|
||||
|
||||
# length of the encryption key
|
||||
# optional, default is 8
|
||||
#crypto_key_length => 8,
|
||||
|
||||
# how many URLs will be provisioned in a batch ?
|
||||
# optional, default is 5
|
||||
#provis_step => 5,
|
||||
|
||||
# max number of URLs to be provisioned
|
||||
# optional, default is 100
|
||||
#provisioning => 100,
|
||||
|
||||
# anti-flood protection delay, in seconds
|
||||
# users won't be able to ask Lutim to download images more than one per anti_flood_delay seconds
|
||||
# optional, default is 5
|
||||
#anti_flood_delay => 5,
|
||||
|
||||
# twitter account which will appear on twitter cards
|
||||
# see https://dev.twitter.com/docs/cards/validation/validator to register your Lutim instance on twitter
|
||||
# optional, default is @framasky
|
||||
#tweet_card_via => '@framasky',
|
||||
|
||||
# max image size, in octets
|
||||
# you can write it 10*1024*1024
|
||||
# optional, default is 10485760
|
||||
max_file_size => 1048576,
|
||||
|
||||
# if you want to have piwik statistics, provide a piwik image tracker
|
||||
# only the image tracker is allowed, no javascript
|
||||
# optional, no default
|
||||
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
|
||||
|
||||
# if you want to include something in the right of the screen, put it here
|
||||
# here's an example to put the logo of your hoster
|
||||
# optional, no default
|
||||
#hosted_by => 'My super hoster <img src="http://hoster.example.com" alt="Hoster logo">',
|
||||
|
||||
# DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED
|
||||
# Lutim now checks if the X-Forwarded-Proto header is present and equal to https.
|
||||
# set to 1 if you use Lutim behind a secure web server
|
||||
# optional, default is 0
|
||||
#https => 0,
|
||||
|
||||
# broadcast_message which will displayed on all pages of Lutim (but no in json response)
|
||||
# optional, no default
|
||||
broadcast_message => 'test broadcast message',
|
||||
|
||||
# array of authorized domains for API calls.
|
||||
# if you want to authorize everyone to use the API: ['*']
|
||||
# optional, no domains allowed by default
|
||||
#allowed_domains => ['http://1.example.com', 'http://2.example.com'],
|
||||
|
||||
# default time limit for files
|
||||
# valid values are 0, 1, 7, 30 and 365
|
||||
# optional, default is 0 (no limit)
|
||||
default_delay => 30,
|
||||
|
||||
# comma-separated values proposed for delays
|
||||
# optional, default is '0,1,7,30,365'
|
||||
#proposed_delays => '0,1,7,30,365',
|
||||
|
||||
# number of days after which the images will be deleted, even if they were uploaded with "no delay" (or value superior to max_delay)
|
||||
# a warning message will be displayed on homepage
|
||||
# optional, default is 0 (no limit)
|
||||
max_delay => 200,
|
||||
|
||||
# if set to 1, all the images will be encrypted and the encryption option will no be displayed
|
||||
# optional, default is 0
|
||||
#always_encrypt => 0,
|
||||
|
||||
# length of the image's delete token
|
||||
# optional, default is 24
|
||||
#token_length => 24,
|
||||
|
||||
# URL sub-directory in which you want Lutim to be accessible
|
||||
# example: you want to have Lutim under https://example.org/lutim/
|
||||
# => set prefix to '/lutim' or to '/lutim/', it doesn't matter
|
||||
# optional, defaut is /
|
||||
#prefix => '/',
|
||||
|
||||
# choose what database you want to use
|
||||
# valid choices are sqlite and postgresql (all lowercase)
|
||||
# optional, default is sqlite
|
||||
dbtype => 'sqlite',
|
||||
|
||||
# SQLite ONLY - only used if dbtype is set to sqlite
|
||||
# define a path to the SQLite database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is lutim.db
|
||||
db_path => 'testsqlite2.db',
|
||||
|
||||
# PostgreSQL ONLY - only used if dbtype is set to postgresql
|
||||
# these are the credentials to access the PostgreSQL database
|
||||
# mandatory if you choosed postgresql as dbtype
|
||||
#pgdb => {
|
||||
# database => 'lutim',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
#},
|
||||
|
||||
# use Minion instead of directly increase counters
|
||||
# need to launch a minion worker service if enabled
|
||||
# optional, Minion is disabled by default
|
||||
minion => {
|
||||
enabled => 1,
|
||||
# # Which Minion backend to use?
|
||||
# # valid values are sqlite and postgresql (all lowercase)
|
||||
# # mandatory if Minion is enabled, default is sqlite
|
||||
# dbtype => 'sqlite',
|
||||
# # SQLite ONLY - only used if if you choose sqlite as Minion backend, define the path to the minion database
|
||||
# # you can define it relative to lutim directory or set an absolute path
|
||||
# # remember that it has to be in a directory writable by Lutim user
|
||||
# # optional, default is minion.db
|
||||
# db_path => 'minion.db',
|
||||
# # PostgreSQL ONLY - only used if you choose postgresql as Minion backend
|
||||
# # these are the credentials to access the Minion's PostgreSQL database
|
||||
# # mandatory if you choosed postgresql as Minion backend, no default
|
||||
# pgdb => {
|
||||
# database => 'lutim_minion',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
# }
|
||||
},
|
||||
|
||||
# define the height of the thumbnails generated at users' will
|
||||
# this is not the height of the thumbnails send after upload,
|
||||
# we're talking about thumbnails generated when someone asked for
|
||||
# https://example.org/lutim/tesrinp?thumb
|
||||
# this works only if you have ImageMagick
|
||||
# optional, default is 100 (pixels)
|
||||
#thumbnail_size => 100,
|
||||
|
||||
# maximum number of files that can be downloaded as a single zip archive
|
||||
# if too many files are asked, it results a timeout, so Lutim split the zip URL
|
||||
# in multiple URLs, each with max_file_size images.
|
||||
# timeout behavior depends heavily on your server ressources (CPU) and if images
|
||||
# are encrypted
|
||||
# optional, default is 15
|
||||
#max_files_in_zip => 15,
|
||||
|
||||
# maximum size (in MB) of memory allowed for the image cache
|
||||
# Lutim has a built-in memory-based image cache to accelerate responses to often-viewed images.
|
||||
# This setting makes the cache remove oldest viewed image if the cache size is over it.
|
||||
# If set to 0, the cache is disabled
|
||||
# optional, default is 0
|
||||
#cache_max_size => 0,
|
||||
|
||||
##########################
|
||||
# Lutim cron jobs settings
|
||||
##########################
|
||||
|
||||
# number of days shown in /stats page (used with script/lutim cron stats)
|
||||
# optional, default is 365
|
||||
#stats_day_num => 365,
|
||||
|
||||
# number of days senders' IP addresses are kept in database
|
||||
# after that delay, they will be deleted from database (used with script/lutim cron cleanbdd)
|
||||
# optional, default is 365
|
||||
#keep_ip_during => 365,
|
||||
|
||||
# max size of the files directory, in octets
|
||||
# used by script/lutim cron watch to trigger an action
|
||||
# optional, no default
|
||||
max_total_size => 10*1024*1024*1024,
|
||||
|
||||
# default action when files directory is over max_total_size (used with script/lutim cron watch)
|
||||
# valid values are 'warn', 'stop-upload' and 'delete'
|
||||
# please, see readme
|
||||
# optional, default is 'warn'
|
||||
#policy_when_full => 'warn',
|
||||
|
||||
# images which are not viewed since delete_no_longer_viewed_files days will be deleted by the cron cleanfiles task
|
||||
# if delete_no_longer_viewed_files is not set, the no longer viewed files will NOT be deleted
|
||||
# optional, no default
|
||||
#delete_no_longer_viewed_files => 90
|
||||
};
|
||||
213
t/sqlite3.conf
Normal file
@@ -0,0 +1,213 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
{
|
||||
####################
|
||||
# Hypnotoad settings
|
||||
####################
|
||||
# see http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad for a full list of settings
|
||||
hypnotoad => {
|
||||
# array of IP addresses and ports you want to listen to
|
||||
listen => ['http://127.0.0.1:8080'],
|
||||
# if you use Lutim behind a reverse proxy like Nginx, you want to set proxy to 1
|
||||
# if you use Lutim directly, let it commented
|
||||
#proxy => 1,
|
||||
},
|
||||
|
||||
################
|
||||
# Lutim settings
|
||||
################
|
||||
|
||||
# put a way to contact you here and uncomment it
|
||||
# mandatory
|
||||
contact => 'John Doe, admin[at]example.com',
|
||||
|
||||
# random string used to encrypt cookies
|
||||
# mandatory
|
||||
secrets => ['fdjsofjoihrei'],
|
||||
|
||||
# choose a theme. See the available themes in `themes` directory
|
||||
# optional, default is 'default'
|
||||
#theme => 'default',
|
||||
|
||||
# length of the images random URL
|
||||
# optional, default is 8
|
||||
#length => 8,
|
||||
|
||||
# length of the encryption key
|
||||
# optional, default is 8
|
||||
#crypto_key_length => 8,
|
||||
|
||||
# how many URLs will be provisioned in a batch ?
|
||||
# optional, default is 5
|
||||
#provis_step => 5,
|
||||
|
||||
# max number of URLs to be provisioned
|
||||
# optional, default is 100
|
||||
#provisioning => 100,
|
||||
|
||||
# anti-flood protection delay, in seconds
|
||||
# users won't be able to ask Lutim to download images more than one per anti_flood_delay seconds
|
||||
# optional, default is 5
|
||||
#anti_flood_delay => 5,
|
||||
|
||||
# twitter account which will appear on twitter cards
|
||||
# see https://dev.twitter.com/docs/cards/validation/validator to register your Lutim instance on twitter
|
||||
# optional, default is @framasky
|
||||
#tweet_card_via => '@framasky',
|
||||
|
||||
# max image size, in octets
|
||||
# you can write it 10*1024*1024
|
||||
# optional, default is 10485760
|
||||
max_file_size => 1048576,
|
||||
|
||||
# if you want to have piwik statistics, provide a piwik image tracker
|
||||
# only the image tracker is allowed, no javascript
|
||||
# optional, no default
|
||||
#piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1',
|
||||
|
||||
# if you want to include something in the right of the screen, put it here
|
||||
# here's an example to put the logo of your hoster
|
||||
# optional, no default
|
||||
#hosted_by => 'My super hoster <img src="http://hoster.example.com" alt="Hoster logo">',
|
||||
|
||||
# DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED DEPRECATED
|
||||
# Lutim now checks if the X-Forwarded-Proto header is present and equal to https.
|
||||
# set to 1 if you use Lutim behind a secure web server
|
||||
# optional, default is 0
|
||||
#https => 0,
|
||||
|
||||
# broadcast_message which will displayed on all pages of Lutim (but no in json response)
|
||||
# optional, no default
|
||||
broadcast_message => 'test broadcast message',
|
||||
|
||||
# array of authorized domains for API calls.
|
||||
# if you want to authorize everyone to use the API: ['*']
|
||||
# optional, no domains allowed by default
|
||||
#allowed_domains => ['http://1.example.com', 'http://2.example.com'],
|
||||
|
||||
# default time limit for files
|
||||
# valid values are 0, 1, 7, 30 and 365
|
||||
# optional, default is 0 (no limit)
|
||||
default_delay => 30,
|
||||
|
||||
# comma-separated values proposed for delays
|
||||
# optional, default is '0,1,7,30,365'
|
||||
#proposed_delays => '0,1,7,30,365',
|
||||
|
||||
# number of days after which the images will be deleted, even if they were uploaded with "no delay" (or value superior to max_delay)
|
||||
# a warning message will be displayed on homepage
|
||||
# optional, default is 0 (no limit)
|
||||
max_delay => 200,
|
||||
|
||||
# if set to 1, all the images will be encrypted and the encryption option will no be displayed
|
||||
# optional, default is 0
|
||||
#always_encrypt => 0,
|
||||
|
||||
# length of the image's delete token
|
||||
# optional, default is 24
|
||||
#token_length => 24,
|
||||
|
||||
# URL sub-directory in which you want Lutim to be accessible
|
||||
# example: you want to have Lutim under https://example.org/lutim/
|
||||
# => set prefix to '/lutim' or to '/lutim/', it doesn't matter
|
||||
# optional, defaut is /
|
||||
#prefix => '/',
|
||||
|
||||
# choose what database you want to use
|
||||
# valid choices are sqlite and postgresql (all lowercase)
|
||||
# optional, default is sqlite
|
||||
dbtype => 'sqlite',
|
||||
|
||||
# SQLite ONLY - only used if dbtype is set to sqlite
|
||||
# define a path to the SQLite database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is lutim.db
|
||||
db_path => 'testsqlite3.db',
|
||||
|
||||
# PostgreSQL ONLY - only used if dbtype is set to postgresql
|
||||
# these are the credentials to access the PostgreSQL database
|
||||
# mandatory if you choosed postgresql as dbtype
|
||||
#pgdb => {
|
||||
# database => 'lutim',
|
||||
# host => 'localhost',
|
||||
# #user => 'DBUSER',
|
||||
# #pwd => 'DBPASSWORD'
|
||||
#},
|
||||
|
||||
# use Minion instead of directly increase counters
|
||||
# need to launch a minion worker service if enabled
|
||||
# optional, Minion is disabled by default
|
||||
minion => {
|
||||
enabled => 1,
|
||||
# Which Minion backend to use?
|
||||
# valid values are sqlite and postgresql (all lowercase)
|
||||
# mandatory if Minion is enabled, default is sqlite
|
||||
dbtype => 'postgresql',
|
||||
# SQLite ONLY - only used if if you choose sqlite as Minion backend, define the path to the minion database
|
||||
# you can define it relative to lutim directory or set an absolute path
|
||||
# remember that it has to be in a directory writable by Lutim user
|
||||
# optional, default is minion.db
|
||||
db_path => 'minion.db',
|
||||
# PostgreSQL ONLY - only used if you choose postgresql as Minion backend
|
||||
# these are the credentials to access the Minion's PostgreSQL database
|
||||
# mandatory if you choosed postgresql as Minion backend, no default
|
||||
pgdb => {
|
||||
database => 'lutim_miniontest',
|
||||
host => 'localhost',
|
||||
user => 'lutim',
|
||||
pwd => 'lutim'
|
||||
}
|
||||
},
|
||||
|
||||
# define the height of the thumbnails generated at users' will
|
||||
# this is not the height of the thumbnails send after upload,
|
||||
# we're talking about thumbnails generated when someone asked for
|
||||
# https://example.org/lutim/tesrinp?thumb
|
||||
# this works only if you have ImageMagick
|
||||
# optional, default is 100 (pixels)
|
||||
#thumbnail_size => 100,
|
||||
|
||||
# maximum number of files that can be downloaded as a single zip archive
|
||||
# if too many files are asked, it results a timeout, so Lutim split the zip URL
|
||||
# in multiple URLs, each with max_file_size images.
|
||||
# timeout behavior depends heavily on your server ressources (CPU) and if images
|
||||
# are encrypted
|
||||
# optional, default is 15
|
||||
#max_files_in_zip => 15,
|
||||
|
||||
# maximum size (in MB) of memory allowed for the image cache
|
||||
# Lutim has a built-in memory-based image cache to accelerate responses to often-viewed images.
|
||||
# This setting makes the cache remove oldest viewed image if the cache size is over it.
|
||||
# If set to 0, the cache is disabled
|
||||
# optional, default is 0
|
||||
#cache_max_size => 0,
|
||||
|
||||
##########################
|
||||
# Lutim cron jobs settings
|
||||
##########################
|
||||
|
||||
# number of days shown in /stats page (used with script/lutim cron stats)
|
||||
# optional, default is 365
|
||||
#stats_day_num => 365,
|
||||
|
||||
# number of days senders' IP addresses are kept in database
|
||||
# after that delay, they will be deleted from database (used with script/lutim cron cleanbdd)
|
||||
# optional, default is 365
|
||||
#keep_ip_during => 365,
|
||||
|
||||
# max size of the files directory, in octets
|
||||
# used by script/lutim cron watch to trigger an action
|
||||
# optional, no default
|
||||
max_total_size => 10*1024*1024*1024,
|
||||
|
||||
# default action when files directory is over max_total_size (used with script/lutim cron watch)
|
||||
# valid values are 'warn', 'stop-upload' and 'delete'
|
||||
# please, see readme
|
||||
# optional, default is 'warn'
|
||||
#policy_when_full => 'warn',
|
||||
|
||||
# images which are not viewed since delete_no_longer_viewed_files days will be deleted by the cron cleanfiles task
|
||||
# if delete_no_longer_viewed_files is not set, the no longer viewed files will NOT be deleted
|
||||
# optional, no default
|
||||
#delete_no_longer_viewed_files => 90
|
||||
};
|
||||
131
t/test.t
Normal file
@@ -0,0 +1,131 @@
|
||||
# vim:set sw=4 ts=4 sts=4 ft=perl expandtab:
|
||||
use Mojo::Base -strict;
|
||||
use Mojo::File;
|
||||
use Mojo::JSON qw(true false);
|
||||
use Mojolicious;
|
||||
|
||||
use Test::More;
|
||||
use Test::Mojo;
|
||||
|
||||
use FindBin qw($Bin);
|
||||
use Digest::file qw(digest_file_hex);
|
||||
|
||||
my ($m, $cfile);
|
||||
|
||||
BEGIN {
|
||||
use lib 'lib';
|
||||
$m = Mojolicious->new;
|
||||
$cfile = Mojo::File->new($Bin, '..' , 'lutim.conf');
|
||||
if (defined $ENV{MOJO_CONFIG}) {
|
||||
$cfile = Mojo::File->new($ENV{MOJO_CONFIG});
|
||||
unless (-e $cfile->to_abs) {
|
||||
$cfile = Mojo::File->new($Bin, '..', $ENV{MOJO_CONFIG});
|
||||
}
|
||||
}
|
||||
my $config = $m->plugin('Config' =>
|
||||
{
|
||||
file => $cfile->to_abs->to_string,
|
||||
default => {
|
||||
provisioning => 100,
|
||||
provis_step => 5,
|
||||
length => 8,
|
||||
always_encrypt => 0,
|
||||
anti_flood_delay => 5,
|
||||
tweet_card_via => '@framasky',
|
||||
max_file_size => 10*1024*1024,
|
||||
https => 0,
|
||||
proposed_delays => '0,1,7,30,365',
|
||||
default_delay => 0,
|
||||
max_delay => 0,
|
||||
token_length => 24,
|
||||
crypto_key_length => 8,
|
||||
thumbnail_size => 100,
|
||||
theme => 'default',
|
||||
dbtype => 'sqlite',
|
||||
db_path => 'lutim.db',
|
||||
max_files_in_zip => 15,
|
||||
prefix => '/',
|
||||
minion => {
|
||||
enabled => 0,
|
||||
dbtype => 'sqlite',
|
||||
db_path => 'minion.db'
|
||||
},
|
||||
cache_max_size => 0,
|
||||
}
|
||||
}
|
||||
);
|
||||
$m->plugin('Lutim::Plugin::Helpers');
|
||||
}
|
||||
|
||||
# Home page
|
||||
my $t = Test::Mojo->new('Lutim');
|
||||
$t->get_ok('/')
|
||||
->status_is(200)
|
||||
->content_like(qr/Let's Upload That IMage/i);
|
||||
|
||||
# Instance settings informations
|
||||
$t->get_ok('/infos')
|
||||
->status_is(200)
|
||||
->json_has('image_magick')
|
||||
->json_is(
|
||||
'/always_encrypt' => false,
|
||||
'/broadcast_message' => 'test broadcast message',
|
||||
'/contact' => 'John Doe, admin[at]example.com',
|
||||
'/default_delay' => 30,
|
||||
'/max_delay' => 200,
|
||||
'/max_file_size' => 1048576
|
||||
);
|
||||
|
||||
# Post image
|
||||
my $image = Mojo::File->new($Bin, '..', 'themes', 'default', 'public', 'img', 'Lutim.png')->to_string;
|
||||
$t->post_ok('/' => form => { file => { file => $image }, format => 'json' })
|
||||
->status_is(200)
|
||||
->json_has('msg', 'success')
|
||||
->json_is('/success' => true, '/msg/filename' => 'Lutim.png')
|
||||
->json_like('/msg/short' => qr#[-_a-zA-Z0-9]{8}#, '/msg/real_short' => qr#[-_a-zA-Z0-9]{8}#, '/msg/token' => qr#[-_a-zA-Z0-9]{24}#);
|
||||
|
||||
# Post delete-at-first-view image
|
||||
my $raw = $t->ua->post('/' => form => { file => { file => $image }, 'first-view' => 1, format => 'json' })->res;
|
||||
my $short = $raw->json('/msg/short');
|
||||
|
||||
$t->get_ok('/'.$short)
|
||||
->status_is(200);
|
||||
|
||||
$t->get_ok('/'.$short)
|
||||
->status_is(302);
|
||||
|
||||
# Delete image with token
|
||||
$raw = $t->ua->post('/' => form => { file => { file => $image }, format => 'json' })->res;
|
||||
my $rshort = $raw->json('/msg/real_short');
|
||||
my $token = $raw->json('/msg/token');
|
||||
|
||||
$t->get_ok('/'.$rshort)
|
||||
->status_is(200);
|
||||
|
||||
$t->get_ok('/d/'.$rshort.'/'.$token, form => { format => 'json' })
|
||||
->status_is('200')
|
||||
->json_is(
|
||||
{
|
||||
success => true,
|
||||
msg => 'The image Lutim.png has been successfully deleted'
|
||||
}
|
||||
);
|
||||
|
||||
$t->get_ok('/'.$rshort)
|
||||
->status_is(302);
|
||||
|
||||
# Needed if we use Minion with sqlite for increasing counters
|
||||
sleep 8;
|
||||
|
||||
# Get image counter
|
||||
$t->post_ok('/c', form => { short => $rshort, token => $token })
|
||||
->status_is(200)
|
||||
->json_is(
|
||||
{
|
||||
success => true,
|
||||
counter => 1,
|
||||
enabled => false
|
||||
}
|
||||
);
|
||||
|
||||
done_testing();
|
||||
@@ -1,51 +0,0 @@
|
||||
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
|
||||
<div class="container">
|
||||
<div>
|
||||
<p>
|
||||
<a href="<%= url_for('/zip?i=') %>" id="download-all" class="btn btn-info col-sm-12">
|
||||
<%= l('Download all images') %>
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div id="gallery" style="display:none;">
|
||||
</div>
|
||||
</div>
|
||||
%= stylesheet '/gallery/css/unite-gallery.css'
|
||||
%= stylesheet '/gallery/themes/default/ug-theme-default.css'
|
||||
%= javascript '/gallery/js/unitegallery.js'
|
||||
%= javascript '/gallery/themes/tiles/ug-theme-tiles.js'
|
||||
%= javascript '/js/jszip.min.js'
|
||||
%= javascript '/js/FileSaver.min.js'
|
||||
%= javascript begin
|
||||
$(document).ready(function() {
|
||||
var absUrl = '<%= url_for('/') %>';
|
||||
|
||||
var key = window.location.hash.substring(1); // Get key
|
||||
// First, strip everything after the equal sign (=) which signals end of base64 string.
|
||||
i = key.indexOf('='); if (i>-1) { key = key.substring(0,i+1); }
|
||||
// If the equal sign was not present, some parameters may remain:
|
||||
i = key.indexOf('&'); if (i>-1) { key = key.substring(0,i); }
|
||||
|
||||
var keys = key.split(',');
|
||||
|
||||
$('#download-all').attr('href', $('#download-all').attr('href')+keys.join('&i='));
|
||||
|
||||
var items = [];
|
||||
keys.forEach(function(element, index, array) {
|
||||
if (!element.match('xcf')) {
|
||||
$('#gallery').append(
|
||||
[
|
||||
'<img src="', absUrl+element, '" data-image="', absUrl+element, '" data-description="" alt="">'
|
||||
].join('')
|
||||
);
|
||||
}
|
||||
});
|
||||
var api = $("#gallery").unitegallery({
|
||||
gallery_theme: "tiles",
|
||||
tiles_max_columns: 4,
|
||||
lightbox_overlay_color: "#DDD"
|
||||
});
|
||||
});
|
||||
% end
|
||||
@@ -1,85 +0,0 @@
|
||||
% # vim:set sts=4 sw=4 ts=4 ft=html.epl expandtab:
|
||||
<h4><%= l('My images') %></h4>
|
||||
<hr>
|
||||
|
||||
<p>
|
||||
<%= l('Only the images sent with this browser will be listed here. The informations are stored in localStorage: if you delete your localStorage data, you\'ll loose this informations.') %>
|
||||
</p>
|
||||
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="text-center"><%= l('File name') %></th>
|
||||
<th class="text-center"><%= l('View link') %></th>
|
||||
<th class="text-center"><%= l('Counter') %></th>
|
||||
<th class="text-center"><%= l('Delete at first view?') %></th>
|
||||
<th class="text-center"><%= l('Uploaded at') %></th>
|
||||
<th class="text-center"><%= l('Expires at') %></th>
|
||||
<th class="text-center"><%= l('Deletion link') %></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="myfiles">
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<%= link_to url_for('/') => ( class => "btn btn-primary btn-lg" ) => begin %><%= l('Back to homepage') %><% end%>
|
||||
|
||||
%= include 'partial/common', format => 'js'
|
||||
%= javascript begin
|
||||
function populateFilesTable() {
|
||||
var files = JSON.parse(localStorage.getItem('images'));
|
||||
files.reverse();
|
||||
files.forEach(function(element, index, array) {
|
||||
var real_short = element.real_short;
|
||||
var vlink = link(element.short+'.'+element.ext, '');
|
||||
var del_view = (element.del_at_view) ? '<span class="icon icon-ok"></span>' : '<span class="icon icon-cancel"></span>';
|
||||
var dlink = link(real_short, 'dl', element.token, false, true);
|
||||
var limit = (element.limit === 0) ? '<%= l('No limit') %>' : moment.unix(element.limit * 86400 + element.created_at).locale(window.navigator.language).format('LLLL');
|
||||
var created_at = moment.unix(element.created_at).locale(window.navigator.language).format('LLLL');
|
||||
|
||||
var tr = '<tr id="alert-'+real_short+'"><td>'
|
||||
+element.filename
|
||||
+'</td><td>'
|
||||
+'<a href="'+vlink+'">'+vlink+'</a>'
|
||||
+'</td><td id="count-'+real_short+'" class="text-center">'
|
||||
+'</td><td class="text-center">'
|
||||
+del_view
|
||||
+'</td><td>'
|
||||
+created_at
|
||||
+'</td><td>'
|
||||
+limit
|
||||
+'</td><td>'
|
||||
+'<a id="del-'+real_short+'" data-short="'+real_short+'" data-token="'+element.token+'" href="#">'+dlink+'</a>'
|
||||
+'</td></tr>';
|
||||
$('#myfiles').append(tr);
|
||||
$('#del-'+real_short).on('click', delImage);
|
||||
|
||||
$.ajax({
|
||||
url : '<%== url_for('counter') %>',
|
||||
type : 'POST',
|
||||
data : {
|
||||
'short': real_short,
|
||||
'token': element.token
|
||||
},
|
||||
success: function(data) {
|
||||
if (data.success) {
|
||||
if (data.enabled) {
|
||||
$('#count-'+real_short).text(data.counter);
|
||||
} else {
|
||||
delItem(real_short);
|
||||
$('#alert-'+real_short).remove();
|
||||
}
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
error: function() {
|
||||
alert(element.filename+'<%= l(': Error while trying to get the counter.') %>');
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
% end
|
||||
%= javascript '/js/moment-with-locales.min.js'
|
||||
@@ -1,42 +0,0 @@
|
||||
% # vim:set sw=4 ts=4 sts=4 ft=javascript expandtab:
|
||||
%= javascript begin
|
||||
function delImage() {
|
||||
var short = $(this).attr('data-short');
|
||||
var token = $(this).attr('data-token');
|
||||
$.ajax({
|
||||
url: '<%= url_for('/') %>d/'+short+'/'+token,
|
||||
method: 'GET',
|
||||
data: {
|
||||
format: 'json'
|
||||
},
|
||||
success: function(data) {
|
||||
if (data.success) {
|
||||
$('#alert-'+short).remove();
|
||||
evaluateCopyAll();
|
||||
delItem(short);
|
||||
} else {
|
||||
alert(data.msg);
|
||||
}
|
||||
},
|
||||
error: function() {
|
||||
},
|
||||
complete: function() {
|
||||
}
|
||||
});
|
||||
}
|
||||
function link(url, dl, token, modify, only_url) {
|
||||
if (token !== undefined) {
|
||||
if (modify !== undefined && modify === true) {
|
||||
return '<%== url_for('/m/')->to_abs() %>'+url+'/'+token;
|
||||
}
|
||||
var link = '<%== url_for('/')->to_abs() %>d/'+url+'/'+token;
|
||||
if (only_url !== undefined && only_url === true) {
|
||||
return link;
|
||||
}
|
||||
return '<a class="btn btn-default col-xs-12 text-left" href="#" title="<%= l('Deletion link') %>" id="del-'+url+'" data-short="'+url+'" data-token="'+token+'"><span class="icon icon-trash"></span> '+link+'</a>';
|
||||
} else if (dl !== '') {
|
||||
url = url+'?'+dl;
|
||||
}
|
||||
return '<%== url_for('/')->to_abs() %>'+url;
|
||||
}
|
||||
% end
|
||||
@@ -1,445 +0,0 @@
|
||||
% # vim:set sw=4 ts=4 sts=4 ft=javascript expandtab:
|
||||
%= javascript begin
|
||||
window.gallery_url = '<%= url_for('gallery')->to_abs %>#';
|
||||
window.zip_url = '<%= url_for('zip')->to_abs %>?i=';
|
||||
window.short_hash = {};
|
||||
window.zip_hash = {};
|
||||
function addToShortHash(short) {
|
||||
window.short_hash[short] = 1;
|
||||
console.debug(window.short_hash);
|
||||
if (Object.keys(window.short_hash).length > 0) {
|
||||
$('#gallery-url').removeClass('hidden');
|
||||
$('#gallery-url-input').val(window.gallery_url+Object.keys(window.short_hash).join(','));
|
||||
$('#gallery-url-link').attr('href', window.gallery_url+Object.keys(window.short_hash).join(','));
|
||||
}
|
||||
}
|
||||
function rmFromShortHash(short) {
|
||||
delete window.short_hash[short];
|
||||
$('#gallery-url-input').val(window.gallery_url+Object.keys(window.short_hash).join(','));
|
||||
$('#gallery-url-link').attr('href', window.gallery_url+Object.keys(window.short_hash).join(','));
|
||||
if (Object.keys(window.short_hash).length === 0) {
|
||||
$('#gallery-url').addClass('hidden');
|
||||
}
|
||||
}
|
||||
function addToZipHash(short) {
|
||||
window.zip_hash[short] = 1;
|
||||
if (Object.keys(window.zip_hash).length > 0) {
|
||||
$('#zip-url').removeClass('hidden');
|
||||
$('#zip-url-input').val(window.zip_url+Object.keys(window.zip_hash).join('&i='));
|
||||
$('#zip-url-link').attr('href', window.zip_url+Object.keys(window.zip_hash).join('&i='));
|
||||
}
|
||||
}
|
||||
function rmFromZipHash(short) {
|
||||
delete window.zip_hash[short];
|
||||
$('#zip-url-input').val(window.zip_url+Object.keys(window.zip_hash).join('&i='));
|
||||
$('#zip-url-link').attr('href', window.zip_url+Object.keys(window.zip_hash).join('&i='));
|
||||
if (Object.keys(window.zip_hash).length === 0) {
|
||||
$('#zip-url').addClass('hidden');
|
||||
}
|
||||
}
|
||||
function selectInput() {
|
||||
$(this).select();
|
||||
}
|
||||
function tw_url(url) {
|
||||
var btn = [
|
||||
' ',
|
||||
'<a title="<%= l('Tweet it!') %>" target="_blank" href="https://twitter.com/share?url=<%== url_for('/')->to_abs() %>', url, '?t">',
|
||||
'<span class="icon icon-twitter"></span>',
|
||||
'</a>'
|
||||
].join('');
|
||||
if (navigator.mozSetMessageHandler !== undefined) {
|
||||
btn = btn+[
|
||||
' ',
|
||||
'<a title="<%= l('Share it!') %>" target="_blank" href="" onclick="share(\'<%== url_for('/')->to_abs() %>', url, '?t\');return false;">',
|
||||
'<span class="icon icon-share"></span>',
|
||||
'</a>'
|
||||
].join('');
|
||||
}
|
||||
return btn
|
||||
}
|
||||
function modify(url, short) {
|
||||
$.ajax({
|
||||
url : url,
|
||||
type : 'POST',
|
||||
data : {
|
||||
'image_url' : '<%== url_for('/')->to_abs() %>'+short,
|
||||
'format' : 'json',
|
||||
'first-view' : ($('#first-view-'+short).prop('checked')) ? 1 : 0,
|
||||
'delete-day' : $('#day-'+short).val()
|
||||
},
|
||||
success: function(data) {
|
||||
alert(data.msg);
|
||||
},
|
||||
error: function() {
|
||||
alert('<%= l('Error while trying to modify the image.') %>');
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
/* Stolen from https://github.com/mozilla-services/push-dev-dashboard/blob/3ad4de737380d0842f40c82301d1f748c1b20f2b/push/static/js/validation.js */
|
||||
function createNode(text) {
|
||||
var node = document.createElement('pre');
|
||||
node.style.width = '1px';
|
||||
node.style.height = '1px';
|
||||
node.style.position = 'fixed';
|
||||
node.style.top = '5px';
|
||||
node.textContent = text;
|
||||
return node;
|
||||
}
|
||||
|
||||
function copyNode(node) {
|
||||
var selection = getSelection();
|
||||
selection.removeAllRanges();
|
||||
|
||||
var range = document.createRange();
|
||||
range.selectNodeContents(node);
|
||||
selection.addRange(range);
|
||||
|
||||
var success = document.execCommand('copy');
|
||||
selection.removeAllRanges();
|
||||
return success;
|
||||
}
|
||||
|
||||
function copyText(text) {
|
||||
var node = createNode(text);
|
||||
document.body.appendChild(node);
|
||||
var success = copyNode(node);
|
||||
document.body.removeChild(node);
|
||||
return success;
|
||||
}
|
||||
|
||||
function copyInput(node) {
|
||||
node.select();
|
||||
var success = document.execCommand('copy');
|
||||
getSelection().removeAllRanges();
|
||||
return success;
|
||||
}
|
||||
function copyToClipboard(el) {
|
||||
el = el.siblings('input');
|
||||
try {
|
||||
var successful = copyInput(el);
|
||||
var msg = successful ? 'successful' : 'unsuccessful';
|
||||
console.debug('Copying text command was ' + msg);
|
||||
if (!successful) {
|
||||
throw new Error('Copying text command was ' + msg);
|
||||
}
|
||||
} catch (err) {
|
||||
prompt('<%= l('Hit Enter, then Ctrl+C to copy the short link') %>', el.val());
|
||||
}
|
||||
}
|
||||
function copyAllToClipboard() {
|
||||
var text = new Array();
|
||||
$('.view-link-input').each(function(index) {
|
||||
text.push($(this).val());
|
||||
});
|
||||
|
||||
try {
|
||||
var successful = copyText(text.join("\n"));
|
||||
var msg = successful ? 'successful' : 'unsuccessful';
|
||||
console.debug('Copying text command was ' + msg);
|
||||
throw new Error('Prout');
|
||||
if (!successful) {
|
||||
throw new Error('Copying text command was ' + msg);
|
||||
}
|
||||
} catch (err) {
|
||||
prompt('<%= l('Hit Enter, then Ctrl+C to copy the short link') %>', text.join(" "));
|
||||
}
|
||||
|
||||
}
|
||||
function buildMessage(success, msg) {
|
||||
if(success) {
|
||||
var s_url = link([msg.short, '.', msg.ext].join(''), '');
|
||||
var thumb = (msg.thumb !== null) ? [
|
||||
'<div class="col-sm-1">',
|
||||
' <a href="', s_url, '" target="_blank">',
|
||||
' <img class="thumbnail img-responsive" alt="', msg.filename, ' thumbnail" src="', msg.thumb, '">',
|
||||
' </a>',
|
||||
'</div>'
|
||||
].join('') : ''
|
||||
return [
|
||||
'<div class="alert alert-success" id="alert-', msg.real_short, '">',
|
||||
' <button type="button" class="close" data-dismiss="alert" aria-hidden="true" onclick="rmFromShortHash(\'', msg.short, '.', msg.ext, '\');rmFromZipHash(\'', msg.short, '\');">×</button>',
|
||||
' <div class="row">', thumb,
|
||||
' <div class="col-sm-11">',
|
||||
' <h4>',
|
||||
' <a href="', s_url, '" target="_blank">',
|
||||
msg.filename,
|
||||
'</a>',
|
||||
tw_url(msg.short),
|
||||
' </h4>',
|
||||
' <form class="form">',
|
||||
' <div class="form-group">',
|
||||
' <label class="sr-only" for="view', msg.real_short, '"><%= l('View link') %></label>',
|
||||
' <div class="input-group col-sm-6">',
|
||||
' <div class="input-group-addon">',
|
||||
' <a href="', s_url, '" target="_blank">',
|
||||
' <span class="icon icon-eye" title =" <%= l('View link') %>"></span>',
|
||||
' </a>',
|
||||
' </div>',
|
||||
' <input type="text" class="form-control view-link-input" id="view', msg.real_short, '" value="', s_url, '" readonly>',
|
||||
' <a href="#" onClick="copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
|
||||
' <span class="icon icon-clipboard"></span>',
|
||||
' </a>',
|
||||
' </div>',
|
||||
' </div>',
|
||||
' <div class="form-group">',
|
||||
' <label class="sr-only" for="markdown', msg.real_short, '"><%= l('Markdown syntax') %></label>',
|
||||
' <div class="input-group col-sm-6">',
|
||||
' <div class="input-group-addon">',
|
||||
' <span class="markdown-mark-solid" title ="<%= l('Markdown syntax') %>"></span>',
|
||||
' </div>',
|
||||
' <input type="text" class="form-control" id="markdown', msg.real_short, '" value=", ')" readonly>',
|
||||
' <a href="#" onClick="copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
|
||||
' <span class="icon icon-clipboard"></span>',
|
||||
' </a>',
|
||||
' </div>',
|
||||
' </div>',
|
||||
' <div class="form-group">',
|
||||
' <label class="sr-only" for="download', msg.real_short, '"><%= l('Download link') %></label>',
|
||||
' <div class="input-group col-sm-6">',
|
||||
' <div class="input-group-addon">',
|
||||
' <a href="', link(msg.short, 'dl'), '">',
|
||||
' <span class="icon icon-download" title ="<%= l('Download link') %>"></span>',
|
||||
' </a>',
|
||||
' </div>',
|
||||
' <input type="text" class="form-control" id="download', msg.real_short, '" value="', link(msg.short, 'dl'), '" readonly>',
|
||||
' <a href="#" onClick="copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
|
||||
' <span class="icon icon-clipboard"></span>',
|
||||
' </a>',
|
||||
' </div>',
|
||||
' </div>',
|
||||
' <div class="form-group">',
|
||||
' <label class="sr-only" for="share', msg.real_short, '"><%= l('Link for share on social networks') %></label>',
|
||||
' <div class="input-group col-sm-6">',
|
||||
' <div class="input-group-addon">',
|
||||
' <a href="', link(msg.short, 't'), '" target="_blank">',
|
||||
' <span class="icon icon-share" title ="<%= l('Link for share on social networks') %>"></span>',
|
||||
' </a>',
|
||||
' </div>',
|
||||
' <input type="text" class="form-control" id="share', msg.real_short, '" value="', link(msg.short, 't'), '" readonly>',
|
||||
' <a href="#" onClick="copyToClipboard($(this));" class="input-group-addon" title="<%= l('Copy to clipboard') %>">',
|
||||
' <span class="icon icon-clipboard"></span>',
|
||||
' </a>',
|
||||
' </div>',
|
||||
' </div>',
|
||||
' <div class="form-group">',
|
||||
' <div class="input-group col-sm-6 col-xs-12">',
|
||||
' <span class="form-control-static">', link(msg.real_short, '', msg.token), '</span>',
|
||||
' </div>',
|
||||
' </div>',
|
||||
' </form>',
|
||||
' </div>',
|
||||
' </div>',
|
||||
' <div class="row">',
|
||||
' <form class="form col-sm-11 col-sm-offset-1" role="form" method="POST" action="', link(msg.real_short, '', msg.token, true), '">',
|
||||
' <div class="form-group form-inline">',
|
||||
' <select id="day-', msg.real_short, '" name="delete-day" class="form-control">',
|
||||
% for my $delay (qw/0 1 7 30 365/) {
|
||||
% my $text = ($delay == 7 || $delay == 30) ? l('%1 days', $delay) : $d->{'delay_'.$delay};
|
||||
% if (config('max_delay')) {
|
||||
% if ($delay) {
|
||||
% if ($delay < config('max_delay')) {
|
||||
' <option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
|
||||
% } elsif ($delay == config('max_delay')) {
|
||||
' <option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
|
||||
% last;
|
||||
% } else {
|
||||
% my $text = ($delay == 1) ? l('24 hours') : l('%1 days', $delay);
|
||||
' <option value="<%= config('max_delay') %>" <%== is_selected(config('max_delay')) %>><%= l('%1 days', config('max_delay')) %></option>',
|
||||
% last;
|
||||
% }
|
||||
% }
|
||||
% } else {
|
||||
' <option value="<%= $delay %>" <%== is_selected($delay) %>><%= $text %></option>',
|
||||
% }
|
||||
% }
|
||||
' </select> ',
|
||||
' <div class="checkbox">',
|
||||
' <label>',
|
||||
' <input id="first-view-', msg.real_short, '" type="checkbox" name="first-view"> <%= l('Delete at first view?') %>',
|
||||
' </label>',
|
||||
' </div> ',
|
||||
' <a href="#" onclick="modify(\'', link(msg.real_short, '', msg.token, true), '\', \'', msg.real_short, '\');return false;" class="btn btn-sm btn-default btn-primary">',
|
||||
' <%= l('Let\'s go!') %>',
|
||||
' </a>',
|
||||
' </div>',
|
||||
' </form>',
|
||||
' </div>',
|
||||
'</div>'
|
||||
].join('');
|
||||
} else {
|
||||
return [
|
||||
'<div class="alert alert-danger">',
|
||||
' <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>',
|
||||
' <strong><%= l('Something bad happened') %></strong><br>',
|
||||
msg.filename,
|
||||
' <br>',
|
||||
msg.msg,
|
||||
'</div>'
|
||||
].join('');
|
||||
}
|
||||
}
|
||||
function bindddz(firstview, deleteday) {
|
||||
$('#drag-and-drop-zone').dmUploader({
|
||||
url: '<%== url_for('/') %>',
|
||||
dataType: 'json',
|
||||
allowedTypes: 'image/*',
|
||||
maxFileSize: <%= $max_file_size %>,
|
||||
onNewFile: function(id, file){
|
||||
$('.messages').append([
|
||||
'<div id="', id, '-div">',
|
||||
file.name, '<br>',
|
||||
' <div class="progress">',
|
||||
' <div id="', id, '"class="progress-bar progress-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">',
|
||||
' <span id="', id, '-text" class="pull-left" style="padding-left: 10px;"> 0%</span>',
|
||||
' </div>',
|
||||
' </div>',
|
||||
'</div>'
|
||||
].join(''));
|
||||
},
|
||||
onUploadProgress: function(id, percent){
|
||||
var percentStr = ' '+percent+'%';
|
||||
$('#'+id).prop('aria-valuenow', percent);
|
||||
$('#'+id).prop('style', 'width: '+percent+'%;');
|
||||
$('#'+id+'-text').html(percentStr);
|
||||
},
|
||||
onUploadSuccess: function(id, data){
|
||||
$('#'+id+'-div').remove();
|
||||
if ($('#copy-all').length === 0 && data.success) {
|
||||
$('.messages').prepend(
|
||||
[
|
||||
'<div class="col-xs-12 col-sm-11 col-sm-offset-1">',
|
||||
' <a id="copy-all" href="#" class="btn btn-info" onClick="copyAllToClipboard();">',
|
||||
' <%= l('Copy all view links to clipboard') %>',
|
||||
' </a>',
|
||||
'</div>'
|
||||
].join('')
|
||||
);
|
||||
}
|
||||
$('.messages').append(buildMessage(data.success, data.msg));
|
||||
$('#del-'+data.msg.real_short).on('click', delImage);
|
||||
if (data.success) {
|
||||
addToShortHash(data.msg.short+'.'+data.msg.ext);
|
||||
addToZipHash(data.msg.short);
|
||||
$('.close').unbind('click', evaluateCopyAll);
|
||||
$('.close').on('click', evaluateCopyAll);
|
||||
$('input[type=\'text\']').unbind("click", selectInput);
|
||||
$('input[type=\'text\']').on("click", selectInput);
|
||||
addItem(data.msg);
|
||||
}
|
||||
},
|
||||
onUploadError: function(id, message){
|
||||
$('.messages').append(buildMessage(false, ''));
|
||||
},
|
||||
onFileSizeError: function(file){
|
||||
$('.messages').append(buildMessage(false, { filename: file.name, msg: '<%= l('The file exceed the size limit (%1)', $max_file_size) %>'}));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function upload_url() {
|
||||
var val = $('#lutim-file-url').val();
|
||||
if (val !== undefined && val !== '') {
|
||||
$('#lutim-file-url').prop('disabled', 'disabled');
|
||||
$('.hidden-spin').css('display', 'block');
|
||||
$.ajax({
|
||||
url : '<%== url_for('/') %>',
|
||||
type : 'POST',
|
||||
data : {
|
||||
'lutim-file-url' : val,
|
||||
'format' : 'json',
|
||||
'first-view' : ($('#first-view').prop('checked')) ? 1 : 0,
|
||||
'crypt' : ($('#crypt').prop('checked')) ? 1 : 0,
|
||||
'delete-day' : $('#delete-day').val()
|
||||
},
|
||||
success: function(data) {
|
||||
$('.messages').append(buildMessage(data.success, data.msg));
|
||||
if (data.success) {
|
||||
if ($('#copy-all').length === 0) {
|
||||
$('.messages').prepend('<div class="col-xs-12 col-sm-11 col-sm-offset-1"><a id="copy-all" href="#" class="btn btn-info" onClick="copyAllToClipboard();"><%= l('Copy all view links to clipboard') %></a></div>');
|
||||
}
|
||||
$('#lutim-file-url').val('');
|
||||
addToShortHash(data.msg.short+'.'+data.msg.ext);
|
||||
addToZipHash(data.msg.short);
|
||||
$('.close').unbind('click', evaluateCopyAll);
|
||||
$('.close').on('click', evaluateCopyAll);
|
||||
addItem(data.msg);
|
||||
}
|
||||
},
|
||||
error: function() {
|
||||
$('.messages').append(buildMessage(false, ''));
|
||||
},
|
||||
complete: function() {
|
||||
$('#lutim-file-url').prop('disabled', '');
|
||||
$('.hidden-spin').css('display', 'none');
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function fileUpload(file) {
|
||||
var fd = new FormData();
|
||||
fd.append('file', file);
|
||||
|
||||
fd.append('format', 'json');
|
||||
fd.append('first-view', ($('#first-view').prop('checked')) ? 1 : 0);
|
||||
fd.append('crypt', ($('#crypt').prop('checked')) ? 1 : 0);
|
||||
fd.append('delete-day', ($('#delete-day').val()));
|
||||
|
||||
$('.messages').append([
|
||||
'<div id="1-div">', file.name, '<br>',
|
||||
' <div class="progress">',
|
||||
' <div id="1"class="progress-bar progress-striped active" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;">',
|
||||
' <span id="1-text" class="pull-left" style="padding-left: 10px;"> 0%</span>',
|
||||
' </div>',
|
||||
' </div>',
|
||||
'</div>'
|
||||
].join(''));
|
||||
// Ajax Submit
|
||||
$.ajax({
|
||||
url: '<%== url_for('/') %>',
|
||||
type: 'POST',
|
||||
dataType: 'json',
|
||||
data: fd,
|
||||
cache: false,
|
||||
contentType: false,
|
||||
processData: false,
|
||||
forceSync: false,
|
||||
xhr: function(){
|
||||
var xhrobj = $.ajaxSettings.xhr();
|
||||
if(xhrobj.upload){
|
||||
xhrobj.upload.addEventListener('progress', function(event) {
|
||||
var percent = 0;
|
||||
var position = event.loaded || event.position;
|
||||
var total = event.total || e.totalSize;
|
||||
if(event.lengthComputable){
|
||||
percent = Math.ceil(position / total * 100);
|
||||
}
|
||||
|
||||
var percentStr = ' '+percent+'%';
|
||||
$('#1').prop('aria-valuenow', percent);
|
||||
$('#1').prop('style', 'width: '+percent+'%;');
|
||||
$('#1-text').html(percentStr);
|
||||
}, false);
|
||||
}
|
||||
|
||||
return xhrobj;
|
||||
},
|
||||
success: function (data, message, xhr){
|
||||
$('#1-div').remove();
|
||||
if ($('#copy-all').length === 0 && data.success) {
|
||||
$('.messages').prepend('<div class="col-xs-12 col-sm-11 col-sm-offset-1"><a id="copy-all" href="#" class="btn btn-info" onClick="copyAllToClipboard();"><%= l('Copy all view links to clipboard') %></a></div>');
|
||||
}
|
||||
$('.messages').append(buildMessage(data.success, data.msg));
|
||||
if (data.success) {
|
||||
$('.close').unbind('click', evaluateCopyAll);
|
||||
$('.close').on('click', evaluateCopyAll);
|
||||
addItem(data.msg);
|
||||
}
|
||||
},
|
||||
error: function (xhr, status, errMsg){
|
||||
$('.messages').append(buildMessage(false, ''));
|
||||
},
|
||||
});
|
||||
}
|
||||
% end
|
||||
588
themes/default/lib/Lutim/I18N/ar.po
Normal file
@@ -0,0 +1,588 @@
|
||||
# Lutim language file
|
||||
# Copyright (C) 2014 Luc Didry
|
||||
# This file is distributed under the same license as the Lutim package.
|
||||
#
|
||||
# Translators:
|
||||
# ButterflyOfFire <butterflyoffire@protonmail.com>, ٢٠١٨, 2018.
|
||||
# ButterflyOfFire <butterflyoffire@protonmail.com>, 2018. #zanata
|
||||
# Luc Didry <luc@framasoft.org>, 2018. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2018-03-09 06:55+0000\n"
|
||||
"Last-Translator: Copied by Zanata <copied-by-zanata@zanata.org>\n"
|
||||
"Language-Team: Arabic <butterflyoffire+lutim@protonmail.com>\n"
|
||||
"Language: ar\n"
|
||||
"Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 "
|
||||
"&& n%100<=10 ? 3 : n%100>=11 ? 4 : 5);\n"
|
||||
"n%100<=10 ? 3: n%100>=11 ? 4 : 5);\n"
|
||||
"X-Generator: Zanata 4.3.3\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr "%1 أيام"
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "تم إرسال %1 صورة على مثيل الخادوم هذا منذ البداية."
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-أو-"
|
||||
|
||||
#: lib/Lutim.pm:187 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr "سنة واحدة"
|
||||
|
||||
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr "24 ساعة"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ": طرأ هناك خطأ أثناء محاولة إستعادة العداد."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:77
|
||||
msgid "About"
|
||||
msgstr "عن البرنامج"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr "الصور النشطة"
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "طرأ هناك خطأ أثناء عملية تنزيل الصورة."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr "تنزيل الأرشيف"
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr "العودة إلى الصفحة الرئيسية"
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "إضغط لفتح مدير الملفات"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "المساهمون"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "أنسخ كافة روابط العرض إلى الحافظة"
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "أنسخ إلى الحافظة"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr "العداد"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr "هل تود حذف الصورة مباشرة بعد أول عرض ؟"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr "الصور المحذوفة"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr "الصور المحذوفة منذ 30 يوما"
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr "رابط الحذف"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr "تنزيل كافة الصور"
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr "رابط التنزيل"
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr "رابط التنزيل كحزمة مضغوطة"
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "إسحب ثم القي الصور هنا"
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
msgstr ""
|
||||
"إسحب ثم القي صورة ما على المساحة المخصصة لذلك أو قم باستخدام الأسلوب المعتاد "
|
||||
"لإرسال الملفات و سيقوم لوتان بعدها بتوفير أربع روابط. رابط لعرض الصورة و "
|
||||
"آخر لتنزيل الصورة مباشرة و آخر يمكنكم إستخدامه على شبكات التواصل الإجتماعي و "
|
||||
"أخيرا رابط آخر يمكّنكم من حذف الصورة إن شئتم."
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "قم بتعمية و تشفير الصورة (لوتان Lutim لا يحتفظ بالمفتاح)."
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "طرأ هناك خطأ أثناء عملية تعديل الصورة."
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr "تطور العدد الإجمالي للملفات"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr "تنتهي مدة صلاحيتها في"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr "إسم الملف"
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
"للمزيد من التفاصيل، قم بزيارة <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">الصفحة الرئيسة للمشروع</a>."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:80
|
||||
msgid "Fork me!"
|
||||
msgstr "قم بتشعيبي !"
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr "رابط المعرض"
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr "إضغط على CTRL+C ثم على مفتاح الإدخال للقيام بنسخ الرابط القصير"
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr "الصفحة الرئيسية"
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "كيف يُنطق Lutim ؟"
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "كيف يشتغل ؟"
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "كيف يتم الإبلاغ عن صورة ما ؟"
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
msgstr ""
|
||||
"إذا تم حذف الملفات و إن قمت بطلب ذلك أثناء الإرسال سوف نقوم بالإحتفاظ ببصمات "
|
||||
"SHA512 الخاصة بالصور."
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "رابط الصورة"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr "تأجيل الصورة"
|
||||
|
||||
#: lib/Lutim/Controller.pm:748
|
||||
msgid "Image not found."
|
||||
msgstr "الصورة غير موجودة."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:69
|
||||
msgid "Informations"
|
||||
msgstr "معلومات"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:33
|
||||
msgid "Install webapp"
|
||||
msgstr "نتصيب برنامج الويب"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:29
|
||||
msgid "Instance's statistics"
|
||||
msgstr "إحصائيات مثيل الخادوم"
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "هل يدعم حقا التخفي ؟"
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "هل هو مجاني (كما في عبارة مشروب مجاني) ؟"
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
"يُنطق مِثل الكلمة الفرنسية <a href=\"https://fr.wikipedia.org/wiki/"
|
||||
"Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "الإبقاء على بيانات EXIF"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:40
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr "هيا بنا !"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:74
|
||||
msgid "License:"
|
||||
msgstr "الرخصة :"
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "رابط للمشاركة على شبكات التواصل الإجتماعي"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
msgstr ""
|
||||
"ليس بمقدور لوتان ضغط العديد من الصور في آن واحد، لذا قام بتقطيع طلبك على شكل "
|
||||
"عدةروابط."
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "المطورون الرئيسيون"
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:26
|
||||
msgid "My images"
|
||||
msgstr "صوري"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr "مدة غير محدودة"
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "مسموحة إلّا الصور"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr ""
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr "إحصائيات خامة"
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr ""
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:755
|
||||
msgid ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:52
|
||||
msgid "Support the author"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:60
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:57
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:63
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr ""
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr ""
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr ""
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr ""
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:16
|
||||
msgid "Toggle navigation"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr ""
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:654 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:709 lib/Lutim/Controller.pm:720 lib/Lutim/Controller.pm:745 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr ""
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:183
|
||||
msgid ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr ""
|
||||
617
themes/default/lib/Lutim/I18N/de.po
Normal file
@@ -0,0 +1,617 @@
|
||||
# Lutim language file
|
||||
# Copyright (C) 2014 Luc Didry
|
||||
# This file is distributed under the same license as the Lutim package.
|
||||
#
|
||||
# Translators:
|
||||
# Translators:
|
||||
# Thor77 <thor77@thor77.org>, 2015
|
||||
# Luc Didry <luc@framasoft.org>, 2018. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2018-03-11 08:51+0000\n"
|
||||
"Last-Translator: Copied by Zanata <copied-by-zanata@zanata.org>\n"
|
||||
"Language-Team: German (http://www.transifex.com/fiat-tux/lutim/language/de/)\n"
|
||||
"Language: de\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Zanata 4.3.3\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr "%1 Tage"
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 Bilder wurden bisher über diese Instanz versendet."
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-oder-"
|
||||
|
||||
#: lib/Lutim.pm:187 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr "1 Jahr"
|
||||
|
||||
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr "24 Stunden"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ":Fehler beim Abrufen des Zählers."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:77
|
||||
msgid "About"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Beim Herunterladen des Bildes ist ein Fehler aufgetreten."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr "Zurück zur Hauptseite"
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Klicken um den Dateibrowser zu öffnen"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Mitwirkende"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Alle Links zum Anschauen in die Zwischenablage kopieren"
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "In die Zwischenablage kopieren"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr "Zähler"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Nach erstem Aufruf löschen?"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr "Link zum Löschen"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr "Laden Sie alle Bilder"
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr "Link zum Herunterladen"
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr "Link zum Archivbilder"
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Bilder hierher ziehen"
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
msgstr ""
|
||||
"Ziehe Bilder in den dafür vorgesehenen Bereich und Lutim wird vier URLs "
|
||||
"generieren. Eine zum Anschauen, eine zum direkten Herunterladen, eine zum "
|
||||
"Nutzen in sozialen Netzwerken und eine letzte um das Bild zu löschen."
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Verschlüssle das Bild (Lutim behält den Key nicht)"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Beim bearbeiten des Bildes ist ein Fehler aufgetreten."
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Entwicklung der Anzahl an Dateien"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr "Läuft ab am"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr "Dateiname"
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
"Besuche für mehr Details die <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">Homepage des Projekts</a>."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:80
|
||||
msgid "Fork me!"
|
||||
msgstr "Fork me!"
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr "Link zur Galerie"
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr "Drücke STRG+C und dann Enter um den Kurz-Link zu kopieren."
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr "Webseite"
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "Wie spricht man Lutim aus?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "Wie funktionert das?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "Wie kann ich ein Bild melden?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
msgstr ""
|
||||
"Wenn du versuchst, ein Bild während dem Hochladen zu löschen, wird die "
|
||||
"SHA512-Summe des Bildes behalten."
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "Bild-URL"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:748
|
||||
msgid "Image not found."
|
||||
msgstr "Bild nicht gefunden"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:69
|
||||
msgid "Informations"
|
||||
msgstr "Informationen"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:33
|
||||
msgid "Install webapp"
|
||||
msgstr "Installiere die Webapp"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:29
|
||||
msgid "Instance's statistics"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "Ist es wirklich anonym?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "Is es wirklich kostenlos?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
"Genauso wie das französische Wort <a href=\"https://fr.wikipedia.org/wiki/"
|
||||
"Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Behalte EXIF-Daten"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:40
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr "Los gehts!"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:74
|
||||
msgid "License:"
|
||||
msgstr "Lizenz:"
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Links zum teilen auf sozialen Netzwerken"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
msgstr ""
|
||||
"Lutim ist ein freier und anonymer Bilder-Upload-Service.\n"
|
||||
"Es ist auch der Name der freien Software, die diesen Service bietet."
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Haupt-Entwickler"
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Markdown Syntax"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:26
|
||||
msgid "My images"
|
||||
msgstr "Meine Bilder"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr "Keine Begrenzung"
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Es sind nur Bilder erlaubt"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
msgstr ""
|
||||
"Nur die Bilder, die über diesen Browser versendet wurden, werden hier "
|
||||
"angezeigt. Die Details werden im localStorage gespeichert, wenn du diesen "
|
||||
"leerst, sind die Details verloren."
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
msgstr ""
|
||||
"Nur der Hochladende (natürlich nur, wenn er vorher auch Rechteinhaber des "
|
||||
"Bildes war)"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr ""
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Kontaktiere den Administrator: %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Sende ein Bild"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr "Teile es!"
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr "Es ist ein Fehler aufgetreten"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:755
|
||||
msgid ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
msgstr ""
|
||||
"Es ist ein Fehler aufgetreten. Versuche es erneut oder kontaktiere den "
|
||||
"Administrator (%1)."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:52
|
||||
msgid "Support the author"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:60
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:57
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:63
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
msgstr ""
|
||||
"Die IP-Adresse des Nutzers wird für eine bestimmte Zeit gespeichert. Diese "
|
||||
"kann der Administrator frei wählen (für die offizielle Instanz, die in "
|
||||
"Frankreich gehostet ist, liegt diese Zeit bei einem Jahr)"
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
"Lutim ist <a href=\"https://de.wikipedia.org/wiki/Freie_Software\">freie "
|
||||
"Software</a>, was dir erlaubt sie herunterzuladen und sie auf deinem eigenem "
|
||||
"Server zu installieren. Schau dir die <a href=\"https://www.gnu.org/licenses/"
|
||||
"agpl-3.0.html\">AGPL</a> an um deine Recht zu sehen."
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr "Die URL ist nicht gültig."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "Das Token zum Löschen ist ungültig."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "Die Datei %1 ist kein Bild."
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "Die Datei überschreitet die Größenbeschränkung (%1)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Die Daten des Graphs werden nicht in Echtzeit aktualisiert."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "Das Bild %1 wurde schon gelöscht."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "Das Bild %1 wurde erfolgreich gelöscht."
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Die Zeit bis zum Löschen des Bildes wurde erfolgreich geändert."
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr ""
|
||||
"Die Bilder werden auf dem Server verschlüsselt (Lutim behält den Key nicht)"
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Die Bilder, die du auf Lutim hochlädst, können entweder nie, nach dem ersten "
|
||||
"Aufruf oder nach einer bestimmten Zeit gelöscht werden."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
"Es sind keine URLs mehr verfügbar. Versuche es erneut oder kontaktiere den "
|
||||
"Administrator. %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:16
|
||||
msgid "Toggle navigation"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr "Twittere es!"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Konnte das Bild %1 nicht finden."
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:654 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:709 lib/Lutim/Controller.pm:720 lib/Lutim/Controller.pm:745 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Dieses Bild wurde gelöscht."
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Konnte den Zähler nicht abrufen"
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
msgstr ""
|
||||
"Im Gegensatz zu anderen Bild-Hosting-Diensten, überträgst du uns nicht die "
|
||||
"Rechte an hochgeladenen Bildern."
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Lade ein Bild über seine URL hoch"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr "Hochgeladen am"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Hochgeladene Bilder pro Tag"
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:183
|
||||
msgid ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
msgstr ""
|
||||
"Hochladen ist momentan deaktiviert. Versuche es später erneut oder "
|
||||
"kontaktiere den Administrator (%1)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr "Link ansehen"
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "Welche Software stellt diesen Dienst bereit?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "Was ist Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Wer hat die Rechte an auf Lutim hochgeladenen Bildern?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
msgstr ""
|
||||
"Ja, ist es! Auf der anderen Seite wird deine IP-Adresse, wegen rechtlichen "
|
||||
"Gründen, beim hochladen gespeichert. Keine Panik, das ist normalerweise der "
|
||||
"Fall für alle Seiten, an die du Dateien sendest!"
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
"Ja, ist es! Auf der anderen Seite kannst du den Entwickler via <a href="
|
||||
"\"https://www.tipeee.com/fiat-tux\">Tipeee</a> oder <a href=\"https://"
|
||||
"liberapay.com/sky/\">Liberapay</a> unterstützen."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Du kannst Bilder, die du auf Lutim hochlädst, entweder nach dem ernsten "
|
||||
"Ansehen (oder Herunterladen) oder nach einem der vorgeschlagenen Zeiten "
|
||||
"löschen lassen."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "und auf"
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "Haupt-Entwickler"
|
||||
|
||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr "keine Zeit-Begrenzung"
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr "okzitanisch Übersetzung"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "auf"
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr "russische Übersetzung"
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "spanische Übersetzung"
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "Webapp-Entwickler"
|
||||
613
themes/default/lib/Lutim/I18N/en.po
Normal file
@@ -0,0 +1,613 @@
|
||||
# Luc Didry <luc@framasoft.org>, 2018. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2018-03-11 08:53+0000\n"
|
||||
"Last-Translator: Luc Didry <luc@framasoft.org>\n"
|
||||
"Language-Team: English\n"
|
||||
"Language: en\n"
|
||||
"X-Generator: Zanata 4.3.3\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr "%1 days"
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 sent images on this instance from beginning."
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-or-"
|
||||
|
||||
#: lib/Lutim.pm:187 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr "1 year"
|
||||
|
||||
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr "24 hours"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ": Error while trying to get the counter."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:77
|
||||
msgid "About"
|
||||
msgstr "About"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr "Active images"
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "An error occured while downloading the image."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr "Archives download"
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr "Back to homepage"
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Click to open the file browser"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr "Close (Esc)"
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Contributors"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Copy all view links to clipboard"
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Copy to clipboard"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr "Counter"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr "Delay repartition chart for disabled images"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr "Delay repartition chart for enabled images"
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Delete at first view?"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr "Deleted images"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr "Deleted images in 30 days"
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr "Deletion link"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr "Download all images"
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr "Download link"
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr "Download zip link"
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Drag & drop images here"
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
msgstr ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Encrypt the image (Lutim does not keep the key)."
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Error while trying to modify the image."
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Evolution of total files"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr "Expires at"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr "File name"
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:80
|
||||
msgid "Fork me!"
|
||||
msgstr "Fork me!"
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr "Gallery link"
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr "Hit Ctrl+C, then Enter to copy the short link"
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr "Homepage"
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "How do you pronounce Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "How does it work?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "How to report an image?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
msgstr ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "Image URL"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr "Image delay"
|
||||
|
||||
#: lib/Lutim/Controller.pm:748
|
||||
msgid "Image not found."
|
||||
msgstr "Image not found."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:69
|
||||
msgid "Informations"
|
||||
msgstr "Informations"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:33
|
||||
msgid "Install webapp"
|
||||
msgstr "Install webapp"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:29
|
||||
msgid "Instance's statistics"
|
||||
msgstr "Instance's statistics"
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "Is it really anonymous?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "Is it really free (as in free beer)?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Keep EXIF tags"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:40
|
||||
msgid "Language"
|
||||
msgstr "Language"
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr "Let's go!"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:74
|
||||
msgid "License:"
|
||||
msgstr "License:"
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Link for share on social networks"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
msgstr ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
msgstr ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Main developers"
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Markdown syntax"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:26
|
||||
msgid "My images"
|
||||
msgstr "My images"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr "Next (arrow right)"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr "No limit"
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Only images are allowed"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
msgstr ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
msgstr ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr "Please click on each URL to download the different zip files."
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Please contact the administrator: %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr "Previous (arrow left)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr "Raw stats"
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Send an image"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr "Share it!"
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr "Something bad happened"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:755
|
||||
msgid ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
msgstr ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:52
|
||||
msgid "Support the author"
|
||||
msgstr "Support the author"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:60
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr "Support the author on Liberapay"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:57
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr "Support the author on Tipeee"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:63
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr "Support the author with bitcoins"
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
msgstr ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr "The URL is not valid."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "The delete token is invalid."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "The file %1 is not an image."
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "The file exceed the size limit (%1)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "The graph's datas are not updated in real-time."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "The image %1 has already been deleted."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "The image %1 has been successfully deleted"
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "The image's delay has been successfully modified"
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
"There is no more available URL. Retry or contact the administrator. %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr "Toggle fullscreen"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:16
|
||||
msgid "Toggle navigation"
|
||||
msgstr "Toggle navigation"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr "Total"
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr "Tweet it!"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Unable to find the image %1."
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:654 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:709 lib/Lutim/Controller.pm:720 lib/Lutim/Controller.pm:745 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Unable to find the image: it has been deleted."
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Unable to get counter"
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
msgstr ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Upload an image with its URL"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr "Uploaded at"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Uploaded files by days"
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:183
|
||||
msgid ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
msgstr ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr "View link"
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "What about the software which provides the service?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "What is Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Who owns rights on images uploaded on Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
msgstr ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr "You asked to download a zip archive for too much files."
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr "Zoom in/out"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "and on"
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr "arabic translation"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "core developer"
|
||||
|
||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr "no time limit"
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr "occitan translation"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "on"
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr "paste image to upload ability"
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr "russian translation"
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "spanish translation"
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "webapp developer"
|
||||
620
themes/default/lib/Lutim/I18N/es.po
Normal file
@@ -0,0 +1,620 @@
|
||||
# Lutim language file
|
||||
# Copyright (C) 2014 Luc Didry
|
||||
# This file is distributed under the same license as the Lutim package.
|
||||
#
|
||||
# Translators:
|
||||
# Translators:
|
||||
# Luc Didry <luc@didry.org>, 2015
|
||||
# Luc Didry <luc@framasoft.org>, 2018. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2018-03-09 06:56+0000\n"
|
||||
"Last-Translator: Copied by Zanata <copied-by-zanata@zanata.org>\n"
|
||||
"Language-Team: Spanish (http://www.transifex.com/fiat-tux/lutim/language/es/"
|
||||
")\n"
|
||||
"Language: es\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
||||
"X-Generator: Zanata 4.3.3\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr "%1 días"
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 imágenes enviadas a esta instancia desde el inicio."
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-o-"
|
||||
|
||||
#: lib/Lutim.pm:187 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr "1 año"
|
||||
|
||||
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr "24 horas"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ": Error al intentar obtener el contador."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:77
|
||||
msgid "About"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Error al intentar modificar la imagen."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr "Volver a la página inicial"
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Clic para abrir el explorador de archivos"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Contribuidores"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Copiar todos los enlaces de visualización al portapapeles"
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Copiar al portapapeles"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr "Contador"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr "¿Borrar en la primera vista?"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr "Enlace para borrar"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr "Descargar todas las imágenes"
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr "Enlace de descarga"
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr "Enlace de descarga del archivo de las imágenes"
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Arrastre y suelte imágenes aquí"
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
msgstr ""
|
||||
"Arrastre y suelte una imagen en el área apropiada, o use el método "
|
||||
"tradicional para enviar ficheros, y Lutim proporcionará cuatro URLs. Una "
|
||||
"para ver la imagen, otra para descargarla directamente, una que upede usar "
|
||||
"en redes sociales, y una última para borrar la imagen cuando lo desee."
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Las imágenes se cifran en el servidor (Lutim no guarda la clave)."
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Error al intentar modificar la imagen."
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Evolución de archivos en total"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr "Expira"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr "Nombre de archivo"
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
"Para más detalles, vea la <a href=\"https://framagit.org/luc/lutim\">página "
|
||||
"del proyecto</a>."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:80
|
||||
msgid "Fork me!"
|
||||
msgstr "¡Clóname!"
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr "Enlace a la galería"
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr "Presione Ctrl + C, entonces Ingresar para copiar el enlace"
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr "Página inicial"
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "¿Cómo se pronuncia Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "¿Cómo funciona?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "¿Cómo informar sobre una imagen?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
msgstr ""
|
||||
"Si los ficheros se borran por haberlo solicitado al enviarlos, se retiene su "
|
||||
"huella digital SHA512."
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "URL de la imagen"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:748
|
||||
msgid "Image not found."
|
||||
msgstr "Imagen no encontrada."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:69
|
||||
msgid "Informations"
|
||||
msgstr "Informaciones"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:33
|
||||
msgid "Install webapp"
|
||||
msgstr "Instalar webapp"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:29
|
||||
msgid "Instance's statistics"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "¿Es realmente anónimo?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "¿Es realmente gratis?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
"Tal y como se pronuncia la palabra francesa <a href=\"https://fr.wikipedia."
|
||||
"org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Mantener las etiquetas EXIF"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:40
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr "¡Vamos allá!"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:74
|
||||
msgid "License:"
|
||||
msgstr "Licencia:"
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Enlace para compartir en redes sociales"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
msgstr ""
|
||||
"Lutim es un servicio de alojamiento de imágenes anónimo y gratuito. También "
|
||||
"es el nombre del software libre que proporciona este servicio."
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Desarrolladores principales"
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Sintaxis de Markdown"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:26
|
||||
msgid "My images"
|
||||
msgstr "Mis Imágenes"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr "Sin fecha de caducidad"
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Sólo se admiten imágenes"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
msgstr ""
|
||||
"Sólo se enumeran aquí las imágenes enviadas con este navegador. Los detalles "
|
||||
"se almacenan en localStorage: si elimina sus datos localStorage, perderás "
|
||||
"estos detalles."
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
msgstr ""
|
||||
"¡Sólo el usuario! (bueno, sólo si él/ela es el único titular de los derechos "
|
||||
"de las imágenes antes de subirlas)"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr ""
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Por favor, contacte con el administrador: %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Enviar una imagen"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr "¡Compártelo!"
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr "Algo malo ha pasado"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:755
|
||||
msgid ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
msgstr ""
|
||||
"Algo malo ha pasado. Inténtelo de nuevo más tarde o contacte con el "
|
||||
"administrador (%1)."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:52
|
||||
msgid "Support the author"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:60
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:57
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:63
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
msgstr ""
|
||||
"La dirección IP del remitente de la imagen se retiene durante un tiempo, que "
|
||||
"depende de lo que elija el administrador (para la instancia oficial, que "
|
||||
"está localizada en Francia, es un año)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
"El software Lutim es <a href=\"http://es.wikipedia.org/wiki/"
|
||||
"Software_libre\">software libre</a>, lo que le permite descargarlo e "
|
||||
"instalarlo en su propio servidor. Eche un vistazo a la licencia <a href="
|
||||
"\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> para ver qué puede "
|
||||
"hacer."
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr "La URL no es válida."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "El código de borrado no es válido."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "El archivo %1 no es una imagen."
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "El archivo supera el límite de tamaño (%1)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Los datos del gráfico no se actualizan en tiempo real."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "La imagen %1 ya se ha borrado."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "La imagen %1 se ha borrado correctamente"
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Se ha modificado correctamente el tiempo de la imagen"
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr "Las imágenes se cifran en el servidor (Lutim no guarda la clave)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Puede, opcionalmente, solicitar que la imagen publicada en Lutim se elimine "
|
||||
"con la primera vista (o descarga) o tras un tiempo seleccionado de entre "
|
||||
"varios propuestos."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
"No más URL disponibles. Inténtelo de nuevo o contacte con el administrador. "
|
||||
"%1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:16
|
||||
msgid "Toggle navigation"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr "¡Tuitéalo!"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "No se ha podido encontrar la imagen %1."
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:654 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:709 lib/Lutim/Controller.pm:720 lib/Lutim/Controller.pm:745 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "No se ha podido encontrar la imagen: ha sido borrada."
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Imposible recuperar el contador"
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
msgstr ""
|
||||
"A diferencia de muchos servicios de compartición de imágenes, usted no cede "
|
||||
"los derechos de las imágenes que sube."
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Subir una imagen con la URL"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr "Enviado el"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Archivos enviados por día"
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:183
|
||||
msgid ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
msgstr ""
|
||||
"La carga está deshabilitada en estos momentos, por favor inténtelo más tarde "
|
||||
"o contacte con el administrador (%1)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr "Enlace de visualización"
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "¿Y qué hay sobre el software que proporciona el servicio?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "¿Qué es Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "¿Quién posee los derechos de las imágenes que se suben a Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
msgstr ""
|
||||
"¡Sí, lo es! Por otro lado, por razones legales, se almacena la dirección IP "
|
||||
"cuando se envía una imagen. Que no cunda el pánico, ¡es el caso habitual "
|
||||
"para todos los sitios a los cuales se envían ficheros!"
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
"¡Sí, lo es! Por otro lado, si quiere ayudar a apoyar al desarrollador, puede "
|
||||
"hacerlo vía <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> o con <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Puede, opcionalmente, solicitar que la imagen publicada en Lutim se elimine "
|
||||
"con la primera vista (o descarga) o tras un tiempo seleccionado de entre "
|
||||
"varios propuestos."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "y en"
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "desarrollador principal"
|
||||
|
||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr "Sin tiempo límite"
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr "traducción al occitano"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "en"
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "traducción al español"
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "desarrollador de la webapp"
|
||||
632
themes/default/lib/Lutim/I18N/fr.po
Normal file
@@ -0,0 +1,632 @@
|
||||
# Lutim language file
|
||||
# Copyright (C) 2014 Luc Didry
|
||||
# This file is distributed under the same license as the Lutim package.
|
||||
#
|
||||
# Translators:
|
||||
# Translators:
|
||||
# Luc Didry <luc@didry.org>, 2015
|
||||
# Luc Didry <luc@framasoft.org>, 2018. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2018-03-11 08:53+0000\n"
|
||||
"Last-Translator: Luc Didry <luc@framasoft.org>\n"
|
||||
"Language-Team: French (http://www.transifex.com/fiat-tux/lutim/language/fr/)\n"
|
||||
"Language: fr\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Zanata 4.3.3\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr "%1 jours"
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 images envoyées sur cette instance depuis le début."
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-ou-"
|
||||
|
||||
#: lib/Lutim.pm:187 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr "1 an"
|
||||
|
||||
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr "24 heures"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr " : Erreur en essayant de récupérer le compteur."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:77
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr "Images actives"
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Une erreur est survenue lors du téléchargement de l’image."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr "Téléchargement d’archives"
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr "Retour à la page d’accueil"
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Cliquez pour utiliser le navigateur de fichier"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr "Fermer (Esc)"
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Contributeurs"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Copier tous les liens de visualisation dans le presse-papier"
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Copier dans le presse-papier"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr "Compteur"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr "Graphe de répartition des délais pour les images supprimées"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr "Graphe de répartition des délais pour les images actives"
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Supprimer au premier accès ?"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr "Images supprimées"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr "Images supprimées dans 30 jours"
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr "Lien de suppression"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr "Télécharger toutes les images"
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr "Lien de téléchargement"
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr "Lien de téléchargement de l’archive des images"
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Déposez vos images ici"
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
msgstr ""
|
||||
"Faites glisser des images dans la zone prévue à cet effet ou sélectionnez un "
|
||||
"fichier de façon classique et Lutim vous fournira quatre URLs en retour. Une "
|
||||
"pour afficher l’image, une autre pour la télécharger directement, une pour "
|
||||
"l’utiliser sur les réseaux sociaux et une dernière pour supprimer votre "
|
||||
"image quand vous le souhaitez"
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Chiffrer l’image (Lutim ne stocke pas la clé)."
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Une erreur est survenue en essayant de modifier l’image."
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Évolution du nombre total de fichiers"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr "Expire le"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr "Nom du fichier"
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
"Pour plus de détails, consultez la page <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">Github</a> du projet."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:80
|
||||
msgid "Fork me!"
|
||||
msgstr "Créez un fork !"
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr "Lien vers la galerie"
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr "Faites Ctrl+C puis appuyez sur la touche Entrée pour copier le lien"
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr "Accueil"
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "Comment doit-on prononcer Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "Comment ça marche ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "Comment peut-on faire pour signaler une image ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
msgstr ""
|
||||
"Si les fichiers sont bien supprimés si vous en avez exprimé le choix, leur "
|
||||
"empreinte SHA512 est toutefois conservée."
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "URL de l’image"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr "Durée de rétention de l’image"
|
||||
|
||||
#: lib/Lutim/Controller.pm:748
|
||||
msgid "Image not found."
|
||||
msgstr "Image non trouvée."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:69
|
||||
msgid "Informations"
|
||||
msgstr "Informations"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:33
|
||||
msgid "Install webapp"
|
||||
msgstr "Installer la webapp"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:29
|
||||
msgid "Instance's statistics"
|
||||
msgstr "Statistiques de l’instance"
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "C’est vraiment anonyme ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "C’est vraiment gratuit ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
"Comme on prononce <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> "
|
||||
"(/ly.tɛ̃/)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Conserver les données EXIF"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:40
|
||||
msgid "Language"
|
||||
msgstr "Langue"
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr "Allons-y !"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:74
|
||||
msgid "License:"
|
||||
msgstr "Licence :"
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Lien pour partager sur les réseaux sociaux"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
msgstr ""
|
||||
"Lutim ne peut zipper autant d’images à la fois, votre demande a donc été "
|
||||
"découpée en plusieurs URL."
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
msgstr ""
|
||||
"Lutim est un service gratuit et anonyme d’hébergement d’images. Il s’agit "
|
||||
"aussi du nom du logiciel (libre) qui fournit ce service."
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Développeurs de l’application"
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Syntaxe Markdown"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:26
|
||||
msgid "My images"
|
||||
msgstr "Mes images"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr "Suivant (flêche droite)"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr "Pas de date d’expiration"
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Seules les images sont acceptées"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
msgstr ""
|
||||
"Seules les images envoyées avec ce navigateur seront listées ici. Les "
|
||||
"détails sont stockées en localStorage•: si vous supprimez vos données "
|
||||
"localStorage, vous perdrez ces détails."
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
msgstr ""
|
||||
"Seulement l’envoyeur ! (enfin, seulement s’il possède des droits exclusifs "
|
||||
"sur les images avant de les envoyer)"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr ""
|
||||
"Veuillez cliquer sur chaque URL pour télécharger les différents fichiers zip."
|
||||
""
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Veuillez contacter l’administrateur : %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr "Précédent (flêche gauche)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr "Statistiques brutes"
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Envoyer une image"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr "Partagez !"
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr "Un problème est survenu"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:755
|
||||
msgid ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
msgstr ""
|
||||
"Quelque chose s’est mal passé lors de la création de l’archive. Veuillez "
|
||||
"réessayer plus tard ou contactez l’administrateur (%1)."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:52
|
||||
msgid "Support the author"
|
||||
msgstr "Supportez l’auteur"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:60
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr "Supporter l’auteur sur Liberapay"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:57
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr "Supporter l’auteur sur Tipeee"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:63
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr "Supporter l’auteur avec des bitcoins"
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
msgstr ""
|
||||
"L’IP de la personne ayant déposé l’image est stockée pendant un délai "
|
||||
"dépendant de l’administrateur de l’instance (pour l’instance officielle, "
|
||||
"dont le serveur est en France, c’est un délai\n"
|
||||
" d’un an)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
"Le logiciel Lutim est un <a href=\"https://fr.wikipedia.org/wiki/"
|
||||
"Logiciel_libre\">logiciel libre</a>, ce qui vous permet de le télécharger et "
|
||||
"de l’installer sur votre propre serveur. Jetez un coup d’œil à l’<a href="
|
||||
"\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> pour voir quels sont "
|
||||
"vos droits"
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr "L’URL n’est pas valide."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
"Le processus de téléchargement automatique va ouvrir un onglet dans votre "
|
||||
"navigateur pour chaque lien. Vous devez autoriser les fenêtres popup pour "
|
||||
"Lutim."
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "Le jeton de suppression est invalide."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "Le fichier %1 n’est pas une image."
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "Le fichier dépasse la limite de taille (%1)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Les données du graphique ne sont pas mises à jour en temps réél."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "L’image %1 a déjà été supprimée."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "L’image %1 a été supprimée avec succès."
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Le délai de l’image a été modifié avec succès."
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr ""
|
||||
"Les images sont chiffrées sur le serveur (Lutim ne stocke pas la clé)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Les images déposées sur Lutim peuvent être stockées indéfiniment, ou "
|
||||
"s’effacer dès le premier affichage ou au bout du délai choisi parmi ceux "
|
||||
"proposés."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
"Il n’y a plus d’URL disponible. Veuillez réessayer ou contacter "
|
||||
"l’administrateur. %1."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr "Basculler le plein écran"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:16
|
||||
msgid "Toggle navigation"
|
||||
msgstr "Étendre la barre de navigation"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr "Total"
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr "Tweetez !"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Impossible de trouver l’image %1."
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:654 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:709 lib/Lutim/Controller.pm:720 lib/Lutim/Controller.pm:745 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Impossible de trouver l’image : elle a été supprimée."
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Impossible de récupérer le compteur"
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
msgstr ""
|
||||
"Au contraire de la majorité des services de partages d’image, vous ne nous "
|
||||
"cédez aucun droit sur les images envoyées."
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Déposer une image par son URL"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr "Envoyé le"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Fichiers envoyés, par jour"
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:183
|
||||
msgid ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
msgstr ""
|
||||
"L’envoi d’images est actuellement désactivé, veuillez réessayer plus tard ou "
|
||||
"contacter l’administrateur (%1)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr "Lien d’affichage"
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "Et à propos du logiciel qui fournit le service ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "Qu’est-ce que Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Qui possède des droits sur les images envoyées sur Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
msgstr ""
|
||||
"Oui, ça l’est ! Par contre, pour des raisons légales, votre adresse IP sera "
|
||||
"enregistrée lorsque vous enverrez une image. Ne vous affolez pas, c’est de "
|
||||
"toute façon normalement le cas de tous les sites sur lesquels vous envoyez "
|
||||
"des fichiers !"
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
"Oui, ça l’est ! Par contre, si vous avez envie de soutenir le développeur, "
|
||||
"vous pouvez faire un microdon avec <a href=\"https://www.tipeee.com/fiat-"
|
||||
"tux\">Tipeee</a> ou via <a href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr ""
|
||||
"Vous avez demandé de télécharger une archive zip pour trop de fichiers."
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Vous pouvez, de façon facultative, demander à ce que la ou les images "
|
||||
"déposées sur Lutim soient supprimées après leur premier affichage (ou "
|
||||
"téléchargement) ou au bout d’un délai choisi parmi ceux proposés."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr "Zoomer / dézoomer"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "et sur"
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr "traduction en arabe"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "développeur principal"
|
||||
|
||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr "Pas de limitation de durée"
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr "traduction occitane"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "sur"
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr "possibilité de coller une image pour l’envoyer"
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr "traduction russe"
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "traduction espagnole"
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "développeur de la webapp"
|
||||
632
themes/default/lib/Lutim/I18N/fr_FR.po
Normal file
@@ -0,0 +1,632 @@
|
||||
# Lutim language file
|
||||
# Copyright (C) 2014 Luc Didry
|
||||
# This file is distributed under the same license as the Lutim package.
|
||||
#
|
||||
# Translators:
|
||||
# Translators:
|
||||
# Luc Didry <luc@didry.org>, 2015
|
||||
# Luc Didry <luc@framasoft.org>, 2018. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2018-03-11 08:53+0000\n"
|
||||
"Last-Translator: Luc Didry <luc@framasoft.org>\n"
|
||||
"Language-Team: French (http://www.transifex.com/fiat-tux/lutim/language/fr/)\n"
|
||||
"Language: fr_FR\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Zanata 4.3.3\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr "%1 jours"
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 images envoyées sur cette instance depuis le début."
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-ou-"
|
||||
|
||||
#: lib/Lutim.pm:187 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr "1 an"
|
||||
|
||||
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr "24 heures"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr " : Erreur en essayant de récupérer le compteur."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:77
|
||||
msgid "About"
|
||||
msgstr "À propos"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr "Images actives"
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Une erreur est survenue lors du téléchargement de l’image."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr "Téléchargement d’archives"
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr "Retour à la page d’accueil"
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Cliquez pour utiliser le navigateur de fichier"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr "Fermer (Esc)"
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Contributeurs"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Copier tous les liens de visualisation dans le presse-papier"
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Copier dans le presse-papier"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr "Compteur"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr "Graphe de répartition des délais pour les images supprimées"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr "Graphe de répartition des délais pour les images actives"
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Supprimer au premier accès ?"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr "Images supprimées"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr "Images supprimées dans 30 jours"
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr "Lien de suppression"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr "Télécharger toutes les images"
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr "Lien de téléchargement"
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr "Lien de téléchargement de l’archive des images"
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Déposez vos images ici"
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
msgstr ""
|
||||
"Faites glisser des images dans la zone prévue à cet effet ou sélectionnez un "
|
||||
"fichier de façon classique et Lutim vous fournira quatre URLs en retour. Une "
|
||||
"pour afficher l’image, une autre pour la télécharger directement, une pour "
|
||||
"l’utiliser sur les réseaux sociaux et une dernière pour supprimer votre "
|
||||
"image quand vous le souhaitez"
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Chiffrer l’image (Lutim ne stocke pas la clé)."
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Une erreur est survenue en essayant de modifier l’image."
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Évolution du nombre total de fichiers"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr "Expire le"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr "Nom du fichier"
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
"Pour plus de détails, consultez la page <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">Github</a> du projet."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:80
|
||||
msgid "Fork me!"
|
||||
msgstr "Créez un fork !"
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr "Lien vers la galerie"
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr "Faites Ctrl+C puis appuyez sur la touche Entrée pour copier le lien"
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr "Accueil"
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "Comment doit-on prononcer Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "Comment ça marche ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "Comment peut-on faire pour signaler une image ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
msgstr ""
|
||||
"Si les fichiers sont bien supprimés si vous en avez exprimé le choix, leur "
|
||||
"empreinte SHA512 est toutefois conservée."
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "URL de l’image"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr "Durée de rétention de l’image"
|
||||
|
||||
#: lib/Lutim/Controller.pm:748
|
||||
msgid "Image not found."
|
||||
msgstr "Image non trouvée."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:69
|
||||
msgid "Informations"
|
||||
msgstr "Informations"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:33
|
||||
msgid "Install webapp"
|
||||
msgstr "Installer la webapp"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:29
|
||||
msgid "Instance's statistics"
|
||||
msgstr "Statistiques de l’instance"
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "C’est vraiment anonyme ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "C’est vraiment gratuit ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
"Comme on prononce <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> "
|
||||
"(/ly.tɛ̃/)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Conserver les données EXIF"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:40
|
||||
msgid "Language"
|
||||
msgstr "Langue"
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr "Allons-y !"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:74
|
||||
msgid "License:"
|
||||
msgstr "Licence :"
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Lien pour partager sur les réseaux sociaux"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
msgstr ""
|
||||
"Lutim ne peut zipper autant d’images à la fois, votre demande a donc été "
|
||||
"découpée en plusieurs URL."
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
msgstr ""
|
||||
"Lutim est un service gratuit et anonyme d’hébergement d’images. Il s’agit "
|
||||
"aussi du nom du logiciel (libre) qui fournit ce service."
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Développeurs de l’application"
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Syntaxe Markdown"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:26
|
||||
msgid "My images"
|
||||
msgstr "Mes images"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr "Suivant (flêche droite)"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr "Pas de date d’expiration"
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Seules les images sont acceptées"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
msgstr ""
|
||||
"Seules les images envoyées avec ce navigateur seront listées ici. Les "
|
||||
"détails sont stockées en localStorage : si vous supprimez vos données "
|
||||
"localStorage, vous perdrez ces détails."
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
msgstr ""
|
||||
"Seulement l’envoyeur ! (enfin, seulement s’il possède des droits exclusifs "
|
||||
"sur les images avant de les envoyer)"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr ""
|
||||
"Veuillez cliquer sur chaque URL pour télécharger les différents fichiers zip."
|
||||
""
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Veuillez contacter l’administrateur : %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr "Précédent (flêche gauche)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr "Statistiques brutes"
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Envoyer une image"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr "Partagez !"
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr "Un problème est survenu"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:755
|
||||
msgid ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
msgstr ""
|
||||
"Quelque chose s’est mal passé lors de la création de l’archive. Veuillez "
|
||||
"réessayer plus tard ou contactez l’administrateur (%1)."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:52
|
||||
msgid "Support the author"
|
||||
msgstr "Supportez l’auteur"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:60
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr "Supporter l’auteur sur Liberapay"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:57
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr "Supporter l’auteur sur Tipeee"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:63
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr "Supporter l’auteur avec des bitcoins"
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
msgstr ""
|
||||
"L’IP de la personne ayant déposé l’image est stockée pendant un délai "
|
||||
"dépendant de l’administrateur de l’instance (pour l’instance officielle, "
|
||||
"dont le serveur est en France, c’est un délai\n"
|
||||
" d’un an)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
"Le logiciel Lutim est un <a href=\"https://fr.wikipedia.org/wiki/"
|
||||
"Logiciel_libre\">logiciel libre</a>, ce qui vous permet de le télécharger et "
|
||||
"de l’installer sur votre propre serveur. Jetez un coup d’œil à l’<a href="
|
||||
"\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> pour voir quels sont "
|
||||
"vos droits"
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr "L’URL n’est pas valide."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
"Le processus de téléchargement automatique va ouvrir un onglet dans votre "
|
||||
"navigateur pour chaque lien. Vous devez autoriser les fenêtres popup pour "
|
||||
"Lutim."
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "Le jeton de suppression est invalide."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "Le fichier %1 n’est pas une image."
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "Le fichier dépasse la limite de taille (%1)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Les données du graphique ne sont pas mises à jour en temps réél."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "L’image %1 a déjà été supprimée."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "L’image %1 a été supprimée avec succès."
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Le délai de l’image a été modifié avec succès."
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr ""
|
||||
"Les images sont chiffrées sur le serveur (Lutim ne stocke pas la clé)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Les images déposées sur Lutim peuvent être stockées indéfiniment, ou "
|
||||
"s’effacer dès le premier affichage ou au bout du délai choisi parmi ceux "
|
||||
"proposés."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
"Il n’y a plus d’URL disponible. Veuillez réessayer ou contacter "
|
||||
"l’administrateur. %1."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr "Basculler le plein écran"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:16
|
||||
msgid "Toggle navigation"
|
||||
msgstr "Étendre la barre de navigation"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr "Total"
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr "Tweetez !"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Impossible de trouver l’image %1."
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:654 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:709 lib/Lutim/Controller.pm:720 lib/Lutim/Controller.pm:745 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Impossible de trouver l’image : elle a été supprimée."
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Impossible de récupérer le compteur"
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
msgstr ""
|
||||
"Au contraire de la majorité des services de partages d’image, vous ne nous "
|
||||
"cédez aucun droit sur les images envoyées."
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Déposer une image par son URL"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr "Envoyé le"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Fichiers envoyés, par jour"
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:183
|
||||
msgid ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
msgstr ""
|
||||
"L’envoi d’images est actuellement désactivé, veuillez réessayer plus tard ou "
|
||||
"contacter l’administrateur (%1)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr "Lien d’affichage"
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "Et à propos du logiciel qui fournit le service ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "Qu’est-ce que Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Qui possède des droits sur les images envoyées sur Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
msgstr ""
|
||||
"Oui, ça l’est ! Par contre, pour des raisons légales, votre adresse IP sera "
|
||||
"enregistrée lorsque vous enverrez une image. Ne vous affolez pas, c’est de "
|
||||
"toute façon normalement le cas de tous les sites sur lesquels vous envoyez "
|
||||
"des fichiers !"
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
"Oui, ça l’est ! Par contre, si vous avez envie de soutenir le développeur, "
|
||||
"vous pouvez faire un microdon avec <a href=\"https://www.tipeee.com/fiat-"
|
||||
"tux\">Tipeee</a> ou via <a href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr ""
|
||||
"Vous avez demandé de télécharger une archive zip pour trop de fichiers."
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Vous pouvez, de façon facultative, demander à ce que la ou les images "
|
||||
"déposées sur Lutim soient supprimées après leur premier affichage (ou "
|
||||
"téléchargement) ou au bout d’un délai choisi parmi ceux proposés."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr "Zoomer / dézoomer"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "et sur"
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr "traduction en arabe"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "développeur principal"
|
||||
|
||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr "Pas de limitation de durée"
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr "traduction occitane"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "sur"
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr "possibilité de coller une image pour l’envoyer"
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr "traduction russe"
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "traduction espagnole"
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "développeur de la webapp"
|
||||
524
themes/default/lib/Lutim/I18N/lutim.pot
Normal file
@@ -0,0 +1,524 @@
|
||||
# SOME DESCRIPTIVE TITLE.
|
||||
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
||||
# This file is distributed under the same license as the PACKAGE package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
#
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\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"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=CHARSET\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr ""
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim.pm:201 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim.pm:200 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:79
|
||||
msgid "About"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid "Drag and drop an image in the appropriate area or use the traditional way to send files and Lutim will provide you four URLs. One to view the image, an other to directly download it, one you can use on social networks and a last to delete the image when you want."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid "For more details, see the <a href=\"https://framagit.org/luc/lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:82
|
||||
msgid "Fork me!"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid "If the files are deleted if you ask it while posting it, their SHA512 footprint are retained."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:752
|
||||
msgid "Image not found."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:71
|
||||
msgid "Informations"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:35
|
||||
msgid "Install webapp"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:31
|
||||
msgid "Instance's statistics"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid "Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:42
|
||||
msgid "Language"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:76
|
||||
msgid "License:"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid "Lutim can't zip so many images at once, so it splitted your demand in multiple URLs."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid "Lutim is a free (as in free beer) and anonymous image hosting service. It's also the name of the free (as in free speech) software which provides this service."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:28
|
||||
msgid "My images"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid "Only the images sent with this browser will be listed here. The details are stored in localStorage: if you delete your localStorage data, you'll loose these details."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid "Only the uploader! (well, only if he's the only owner of the images' rights before the upload)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr ""
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr ""
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:759
|
||||
msgid "Something went wrong when creating the zip file. Try again later or contact the administrator (%1)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:54
|
||||
msgid "Support the author"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:62
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:59
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:65
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid "The IP address of the image's sender is retained for a delay which depends of the administrator's choice (for the official instance, which is located in France, it's one year)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid "The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/Free_software\">free software</a>, which allows you to download and install it on you own server. Have a look at the <a href=\"https://www.gnu.org/licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid "The automatic download process will open a tab in your browser for each link. You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr ""
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr ""
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr ""
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr ""
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid "The images you post on Lutim can be stored indefinitely or be deleted at first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:18
|
||||
msgid "Toggle navigation"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr ""
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:656 lib/Lutim/Controller.pm:699 lib/Lutim/Controller.pm:711 lib/Lutim/Controller.pm:722 lib/Lutim/Controller.pm:749 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid "Unlike many image sharing services, you don't give us rights on uploaded images."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr ""
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:202
|
||||
msgid "Uploading is currently disabled, please try later or contact the administrator (%1)."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid "Yes, it is! On the other side, for legal reasons, your IP address will be stored when you send an image. Don't panic, it is normally the case of all sites on which you send files!"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid "Yes, it is! On the other side, if you want to support the developer, you can do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid "You can, optionally, request that the image(s) posted on Lutim to be deleted at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr ""
|
||||
|
||||
#: lib/Lutim.pm:199 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr ""
|
||||
623
themes/default/lib/Lutim/I18N/oc.po
Normal file
@@ -0,0 +1,623 @@
|
||||
# Lutim language file
|
||||
# Copyright (C) 2014 Luc Didry
|
||||
# This file is distributed under the same license as the Lutim package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
|
||||
# Luc Didry <luc@framasoft.org>, 2018. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2018-03-09 06:56+0000\n"
|
||||
"Last-Translator: Copied by Zanata <copied-by-zanata@zanata.org>\n"
|
||||
"Language-Team: Occitan (http://www.transifex.com/fiat-tux/lutim/language/oc/"
|
||||
")\n"
|
||||
"Language: oc\n"
|
||||
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
|
||||
"X-Generator: Zanata 4.3.3\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr "%1 jorns"
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 imatges mandats sus aquesta instància dempuèi lo començament."
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-o-"
|
||||
|
||||
#: lib/Lutim.pm:187 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr "1 an"
|
||||
|
||||
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr "24 oras"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr " : Error al moment de recuperar lo comptador."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:77
|
||||
msgid "About"
|
||||
msgstr "A prepaus"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr "Imatges actius"
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Una error es apareguda pendent lo telecargament de l'imatge."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr "Telecargar los archius"
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr "Tornar a la pagina d'acuèlh"
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Clicatz per utilizar lo navigator de fichièr"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr "Tampar (Esc)"
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Contributors"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Copiar totes los ligams de visualizacion dins lo quichapapièrs"
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Copiar dins lo quichapapièrs"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr "Comptador"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr "Grafic de despartiment dels delais pels imatges desactivats"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr "Grafic de despartiment dels delais pels imatges activats"
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Suprimir al primièr accès ?"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr "Imatges suprimits"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr "Imatges per èsser suprimits dins 30 jorns"
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr "Ligam de supression"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr "Telecargar totes los imatges"
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr "Ligam de telecargament"
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr "Ligam de telecargament de l'archiu dels imatges"
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Lisatz e depausatz vòstres imatges aquí"
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
msgstr ""
|
||||
"Depausatz vòstres imatges dins la zòna prevista per aquò o seleccionatz un "
|
||||
"fichièr d'un biais classic e Lutim vos donarà quatre URLs en torna. Una per "
|
||||
"afichar l'imatge, una mai per lo telecargar dirèctament, una per l'utilizar "
|
||||
"suls malhums socials e una darrièra per suprimir vòstre imatge quand "
|
||||
"volguèssetz."
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Chifrar l'imatge (Lutim garda pas la clau)."
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Una error es apareguda al moment de modificar l'imatge."
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Evolucion del nombre total de fichièrs"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr "S'acaba lo"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr "Nom del fichièr"
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
"Per mai de detalhs, consultatz la <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">pagina</a> del projècte."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:80
|
||||
msgid "Fork me!"
|
||||
msgstr "Tustatz-me !"
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr "Ligam cap a la galariá"
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr "Fasètz Ctrl+C puèi picatz Entrada per copiar lo ligam"
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr "Acuèlh"
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "Cossí cal prononciar Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "Cossí aquò fonciona ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "Qué far per senhalar un imatge ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
msgstr ""
|
||||
"Se los fichièrs son ben estats suprimits se o avètz demandat, lors "
|
||||
"signaturas SHA512 son gardadas."
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "URL de l'imatge"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr "Delai de l'imatge"
|
||||
|
||||
#: lib/Lutim/Controller.pm:748
|
||||
msgid "Image not found."
|
||||
msgstr "Imatge pas trobat."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:69
|
||||
msgid "Informations"
|
||||
msgstr "Informacions"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:33
|
||||
msgid "Install webapp"
|
||||
msgstr "Installar la webapp"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:29
|
||||
msgid "Instance's statistics"
|
||||
msgstr "Estatisticas de l'instància"
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "Es vertadièrament anonim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "Es vertadièrament gratuit ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
"Òm pronóncia coma en occitan lengadocian, LU-TI-N, amb una M finala que sona "
|
||||
"N, o coma la paraula francesa <a href=\"https://fr.wikipedia.org/wiki/"
|
||||
"Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Conservar las donadas EXIF"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:40
|
||||
msgid "Language"
|
||||
msgstr "Lenga"
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr "Zo !"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:74
|
||||
msgid "License:"
|
||||
msgstr "Licéncia :"
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Ligam per partejar suls malhums socials"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
msgstr ""
|
||||
"Lutim pòt pas comprimir tan d'imatge d'un còp, a doncas trocejat vòstra "
|
||||
"demanda en multiplas URLs"
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
msgstr ""
|
||||
"Lutim es un servici gratuit e anonim d’albergament d’imatges. S’agís tanben "
|
||||
"del nom del logicial (liure) que fornís aqueste servici."
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Desvolopaires de l'aplicacion"
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Sintaxi Markdown"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:26
|
||||
msgid "My images"
|
||||
msgstr "Mos imatges"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr "Seguent (sageta dreita)"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr "Pas cap de data d'expiracion"
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Solament son acceptats los imatges"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
msgstr ""
|
||||
"Solament los imatges mandats amb aqueste navigador seràn listats aquí. Las "
|
||||
"menudalhas son gardadas en localStorage : se escafatz vòstras donadas "
|
||||
"localStorage, perdretz aquelas menudalhas."
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
msgstr ""
|
||||
"Solament lo qu'a mandat ! (ben, solament se ten los dreits exclusius dels "
|
||||
"imatges abans de los mandar)"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr ""
|
||||
"Mercés de clicar sus cada URL per telecargar los diferents archius ZIP."
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Mercés de contactar l'administrator : %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr "Precedent (sageta esquèrra)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr "Estatisticas brutas"
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Mandar un imatge"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr "Partejatz-lo !"
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr "Un problèma es aparegut"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:755
|
||||
msgid ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
msgstr ""
|
||||
"Quicòm a trucat pendent la creacion de l'archiu. Mercés de tornar ensajar "
|
||||
"pus tard o de contactar l'administrator (%1)."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:52
|
||||
msgid "Support the author"
|
||||
msgstr "Sostenir l’autor"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:60
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr "Sostenir l'autor sus Liberapay"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:57
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr "Sostenir l'autor sus Tipeee"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:63
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr "Sostenir l’autor amb bitcoins"
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
msgstr ""
|
||||
"L’IP de la persona que mandèt l'imatge es gardada pendent un delai que "
|
||||
"depend de l'administrator de l'instància (per l'instància oficiala que lo "
|
||||
"servidor es en França, es un delai d'un an)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
"Lo logicial Lutim es un <a href=\"https://oc.wikipedia.org/wiki/"
|
||||
"Logicial_liure\">logicial liure</a>, que permet de lo telecargar e de "
|
||||
"l’installar sus vòstre pròpri servidor. Gaitatz l’<a href=\"https://www.gnu."
|
||||
"org/licenses/agpl-3.0.html\">AGPL</a> per veire que son vòstres dreits"
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr "L'URL n'es pas valida."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
"Lo processús automatic de telecargament obrirà un onglet dins lo navigato "
|
||||
"per cada ligam. Vos cal autorizar las popups per Lutim."
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "Lo geton de supression es invalid."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "Lo fichièr %1 es pas un imatge."
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "Lo fichièr depassa lo limit de talha (%1)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Las donadas del grafic son pas mesas a jorn en temps real."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "L'imatge %1 es ja estat suprimit."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "L'imatge %1 es estat suprimit amb succès."
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Lo delai de l'imatge es plan estat modificat."
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr "Los imatges son chifrats sul servidor (Lutim garda pas la clau)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Los imatges depausats sus Lutim pòdon èsser gardats sens fin, o s’escafar "
|
||||
"tre lo primièr afichatge o al cap d'un delai causit entre los prepausats."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
"I a pas mai d'URL disponiblas. Mercés de tornar ensajar o de contactar "
|
||||
"l'administrator. %1."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr "Passar al plen ecran"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:16
|
||||
msgid "Toggle navigation"
|
||||
msgstr "Passar en navigacion"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr "Total"
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr "Tweetejatz-lo !"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Impossible de trobar l'imatge %1."
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:654 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:709 lib/Lutim/Controller.pm:720 lib/Lutim/Controller.pm:745 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Impossible de trobar l'imatge : es estat suprimit."
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Impossible de recuperar lo comptador"
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
msgstr ""
|
||||
"A l'invèrse de la màger part dels servicis de partiment d'imatge, daissatz "
|
||||
"pas cap de dreit suls imatges que mandatz."
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Depausar un imatge per son URL"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr "Mandat lo"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Fichièrs mandats per jorn"
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:183
|
||||
msgid ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
msgstr ""
|
||||
"La mesa en linha es desactivada pel moment, mercés de tornar ensajar mai "
|
||||
"tard o de contactar l'administrator (%1)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr "Ligam d'afichatge"
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "E a prepaus del logicial que fornís lo servici ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "Qu’es aquò Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Qual a los dreits suls imatges mandats sus Lutim ?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
msgstr ""
|
||||
"Òc, es aquò ! Al contrari, per de rasons legalas, vòstra adreça IP serà "
|
||||
"enregistrada quand mandaretz un imatge. Perdetz pas lo cap, normalament es "
|
||||
"çò normal pels demai dels sites suls quals mandatz de fichièrs !"
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
"Òc, o es ! Al contrari, s'avètz enveja de sosténer lo desvolopaire, podètz "
|
||||
"far un microdon amb <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> o "
|
||||
"via <a href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr ""
|
||||
"Avètz demandat de telecargar tròp d'imatges d'un còp dins un archiu ZIP."
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Podètz, d'un biais facultatiu, demandar que l'imatge o los imatges depausats "
|
||||
"sus Lutim sián suprimits aprèp lor primièr afichatge (o telecargament) o al "
|
||||
"cap d'un delai causit entre las prepausadas."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr "Agrandir/Reduire"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "e sus"
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr "traduccion en arabi"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "desvolopaire màger"
|
||||
|
||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr "Pas cap de limitacion de durada"
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr "traduccion en occitan"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "sus"
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr "possibilitat de pegar un imatge per lo mandar"
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr ""
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "traduccion en espanhòl"
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "desvolopaire de la webapp"
|
||||
618
themes/default/lib/Lutim/I18N/ru.po
Normal file
@@ -0,0 +1,618 @@
|
||||
# Luc Didry <luc@framasoft.org>, 2018. #zanata
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2018-03-11 08:50+0000\n"
|
||||
"Last-Translator: Copied by Zanata <copied-by-zanata@zanata.org>\n"
|
||||
"Language-Team: Russian\n"
|
||||
"Language: ru\n"
|
||||
"X-Generator: Zanata 4.3.3\n"
|
||||
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
||||
"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2)\n"
|
||||
|
||||
#. (7)
|
||||
#. (30)
|
||||
#. ($delay)
|
||||
#. (config('max_delay')
|
||||
#: lib/Lutim/Command/cron/stats.pm:149 lib/Lutim/Command/cron/stats.pm:150 lib/Lutim/Command/cron/stats.pm:160 lib/Lutim/Command/cron/stats.pm:161 lib/Lutim/Command/cron/stats.pm:177 lib/Lutim/Command/cron/stats.pm:178 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/for_my_delay.html.ep:14 themes/default/templates/partial/for_my_delay.html.ep:4 themes/default/templates/partial/lutim.js.ep:142 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/partial/lutim.js.ep:152 themes/default/templates/raw.html.ep:19 themes/default/templates/raw.html.ep:20 themes/default/templates/raw.html.ep:36 themes/default/templates/raw.html.ep:37 themes/default/templates/raw.html.ep:8 themes/default/templates/raw.html.ep:9
|
||||
msgid "%1 days"
|
||||
msgstr "%1 дней"
|
||||
|
||||
#. ($total)
|
||||
#: themes/default/templates/stats.html.ep:2
|
||||
msgid "%1 sent images on this instance from beginning."
|
||||
msgstr "%1 изображений загружено в этот экземпляр с самого начала."
|
||||
|
||||
#: themes/default/templates/index.html.ep:190
|
||||
msgid "-or-"
|
||||
msgstr "-или-"
|
||||
|
||||
#: lib/Lutim.pm:187 lib/Lutim/Command/cron/stats.pm:151 lib/Lutim/Command/cron/stats.pm:162 lib/Lutim/Command/cron/stats.pm:179 themes/default/templates/index.html.ep:5 themes/default/templates/raw.html.ep:10 themes/default/templates/raw.html.ep:21 themes/default/templates/raw.html.ep:38
|
||||
msgid "1 year"
|
||||
msgstr "1 год"
|
||||
|
||||
#: lib/Lutim.pm:186 lib/Lutim/Command/cron/stats.pm:148 lib/Lutim/Command/cron/stats.pm:159 lib/Lutim/Command/cron/stats.pm:176 themes/default/templates/index.html.ep:4 themes/default/templates/partial/for_my_delay.html.ep:13 themes/default/templates/partial/lutim.js.ep:151 themes/default/templates/raw.html.ep:18 themes/default/templates/raw.html.ep:35 themes/default/templates/raw.html.ep:7
|
||||
msgid "24 hours"
|
||||
msgstr "24 часа"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:57
|
||||
msgid ": Error while trying to get the counter."
|
||||
msgstr ": Error while trying to get the counter."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:77
|
||||
msgid "About"
|
||||
msgstr "О Lutim"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:144 themes/default/templates/raw.html.ep:3
|
||||
msgid "Active images"
|
||||
msgstr "Активные изображения"
|
||||
|
||||
#: lib/Lutim/Controller.pm:326
|
||||
msgid "An error occured while downloading the image."
|
||||
msgstr "Произошла ошибка при скачивании изображения."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:2
|
||||
msgid "Archives download"
|
||||
msgstr "Archives download"
|
||||
|
||||
#: themes/default/templates/about.html.ep:44 themes/default/templates/myfiles.html.ep:64 themes/default/templates/stats.html.ep:25
|
||||
msgid "Back to homepage"
|
||||
msgstr "Вернуться на главную страницу"
|
||||
|
||||
#: themes/default/templates/index.html.ep:193 themes/default/templates/index.html.ep:194
|
||||
msgid "Click to open the file browser"
|
||||
msgstr "Щёлкните для выбора файлов"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:27
|
||||
msgid "Close (Esc)"
|
||||
msgstr "Закрыть (Esc)"
|
||||
|
||||
#: themes/default/templates/about.html.ep:30
|
||||
msgid "Contributors"
|
||||
msgstr "Участники"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:218 themes/default/templates/partial/lutim.js.ep:272 themes/default/templates/partial/lutim.js.ep:350
|
||||
msgid "Copy all view links to clipboard"
|
||||
msgstr "Скопировать в буфер все ссылки на просмотр"
|
||||
|
||||
#: themes/default/templates/index.html.ep:18 themes/default/templates/index.html.ep:36 themes/default/templates/index.html.ep:69 themes/default/templates/index.html.ep:77 themes/default/templates/index.html.ep:85 themes/default/templates/index.html.ep:93 themes/default/templates/myfiles.html.ep:20 themes/default/templates/myfiles.html.ep:38 themes/default/templates/partial/common.js.ep:150 themes/default/templates/partial/lutim.js.ep:108 themes/default/templates/partial/lutim.js.ep:123 themes/default/templates/partial/lutim.js.ep:82 themes/default/templates/partial/lutim.js.ep:94
|
||||
msgid "Copy to clipboard"
|
||||
msgstr "Скопировать в буфер"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:52
|
||||
msgid "Counter"
|
||||
msgstr "Счётчик"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:18
|
||||
msgid "Delay repartition chart for disabled images"
|
||||
msgstr "Распределение сроков хранения недоступных изображений"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:15
|
||||
msgid "Delay repartition chart for enabled images"
|
||||
msgstr "Распределение сроков хранения доступных изображений"
|
||||
|
||||
#: themes/default/templates/index.html.ep:115 themes/default/templates/index.html.ep:147 themes/default/templates/index.html.ep:178 themes/default/templates/myfiles.html.ep:53 themes/default/templates/partial/lutim.js.ep:163
|
||||
msgid "Delete at first view?"
|
||||
msgstr "Удалить после первого просмотра?"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:145 themes/default/templates/raw.html.ep:4
|
||||
msgid "Deleted images"
|
||||
msgstr "Удалённые изображения"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:146 themes/default/templates/raw.html.ep:5
|
||||
msgid "Deleted images in 30 days"
|
||||
msgstr "Удалить изображения через 30 дней"
|
||||
|
||||
#: themes/default/templates/index.html.ep:98 themes/default/templates/myfiles.html.ep:56 themes/default/templates/partial/common.js.ep:142 themes/default/templates/partial/common.js.ep:145
|
||||
msgid "Deletion link"
|
||||
msgstr "Ссылка на удаление"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:8
|
||||
msgid "Download all images"
|
||||
msgstr "Скачать все изображения"
|
||||
|
||||
#: themes/default/templates/index.html.ep:81 themes/default/templates/index.html.ep:83 themes/default/templates/partial/lutim.js.ep:100 themes/default/templates/partial/lutim.js.ep:104
|
||||
msgid "Download link"
|
||||
msgstr "Ссылка на скачивание"
|
||||
|
||||
#: themes/default/templates/index.html.ep:28 themes/default/templates/index.html.ep:31 themes/default/templates/myfiles.html.ep:30 themes/default/templates/myfiles.html.ep:33
|
||||
msgid "Download zip link"
|
||||
msgstr "Ссылка на скачивание zip-архивом"
|
||||
|
||||
#: themes/default/templates/index.html.ep:189
|
||||
msgid "Drag & drop images here"
|
||||
msgstr "Перетащите и бросьте изображения сюда"
|
||||
|
||||
#: themes/default/templates/about.html.ep:7
|
||||
msgid ""
|
||||
"Drag and drop an image in the appropriate area or use the traditional way to "
|
||||
"send files and Lutim will provide you four URLs. One to view the image, an "
|
||||
"other to directly download it, one you can use on social networks and a last "
|
||||
"to delete the image when you want."
|
||||
msgstr ""
|
||||
"Перетащите и бросьте изображение либо воспользуйтесь традиционным путём для "
|
||||
"загрузки файлов, и Lutim предоставит вам четыре URL. Один для просмотра "
|
||||
"изображения, другой — для скачивания, следующий вы можете использовать в "
|
||||
"социальных сетях и последний — для удаления изображения, когда заходите."
|
||||
|
||||
#: themes/default/templates/index.html.ep:150 themes/default/templates/index.html.ep:181
|
||||
msgid "Encrypt the image (Lutim does not keep the key)."
|
||||
msgstr "Зашифровать изображение (Lutim не хранит ключ)."
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:47
|
||||
msgid "Error while trying to modify the image."
|
||||
msgstr "Ошибка при попытке модифицировать изображение."
|
||||
|
||||
#: themes/default/templates/stats.html.ep:10
|
||||
msgid "Evolution of total files"
|
||||
msgstr "Общее количество файлов"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:55
|
||||
msgid "Expires at"
|
||||
msgstr "Истекает в"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:50
|
||||
msgid "File name"
|
||||
msgstr "Имя файла"
|
||||
|
||||
#: themes/default/templates/about.html.ep:24
|
||||
msgid ""
|
||||
"For more details, see the <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">homepage of the project</a>."
|
||||
msgstr ""
|
||||
"Чтоб узнать больше, посетите <a href=\"https://framagit.org/luc/"
|
||||
"lutim\">главную страницу проекта</a>."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:80
|
||||
msgid "Fork me!"
|
||||
msgstr "Форкни меня!"
|
||||
|
||||
#: themes/default/templates/index.html.ep:10 themes/default/templates/index.html.ep:13 themes/default/templates/myfiles.html.ep:12 themes/default/templates/myfiles.html.ep:15
|
||||
msgid "Gallery link"
|
||||
msgstr "Ссылка на галерею"
|
||||
|
||||
#: themes/default/templates/partial/common.js.ep:104 themes/default/templates/partial/common.js.ep:87
|
||||
msgid "Hit Ctrl+C, then Enter to copy the short link"
|
||||
msgstr "Нажмите Ctrl+C, а затем Enter для копирования короткой ссылки"
|
||||
|
||||
#: themes/default/templates/layouts/default.html.ep:54
|
||||
msgid "Homepage"
|
||||
msgstr "Главная страница"
|
||||
|
||||
#: themes/default/templates/about.html.ep:20
|
||||
msgid "How do you pronounce Lutim?"
|
||||
msgstr "Как произносится Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:6
|
||||
msgid "How does it work?"
|
||||
msgstr "Как это работает?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:18
|
||||
msgid "How to report an image?"
|
||||
msgstr "Как пожаловаться на изображение?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:14
|
||||
msgid ""
|
||||
"If the files are deleted if you ask it while posting it, their SHA512 "
|
||||
"footprint are retained."
|
||||
msgstr ""
|
||||
"Если файлы были удалены, потому что вы указали это при их загрузке, их "
|
||||
"контрольные суммы SHA512 сохранятся."
|
||||
|
||||
#: themes/default/templates/index.html.ep:163 themes/default/templates/index.html.ep:203
|
||||
msgid "Image URL"
|
||||
msgstr "URL изображения"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:143 themes/default/templates/raw.html.ep:2
|
||||
msgid "Image delay"
|
||||
msgstr "Срок хранения"
|
||||
|
||||
#: lib/Lutim/Controller.pm:748
|
||||
msgid "Image not found."
|
||||
msgstr "Изображение не найдено."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:69
|
||||
msgid "Informations"
|
||||
msgstr "Информация"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:33
|
||||
msgid "Install webapp"
|
||||
msgstr "Установить веб-приложение"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:29
|
||||
msgid "Instance's statistics"
|
||||
msgstr "Статистика экземпляра"
|
||||
|
||||
#: themes/default/templates/about.html.ep:11
|
||||
msgid "Is it really anonymous?"
|
||||
msgstr "Это действительно анонимно?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:9
|
||||
msgid "Is it really free (as in free beer)?"
|
||||
msgstr "Это действительно бесплатно (as in free beer)?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:21
|
||||
msgid ""
|
||||
"Juste like you pronounce the French word <a href=\"https://fr.wikipedia.org/"
|
||||
"wiki/Lutin\">lutin</a> (/ly.tɛ̃/)."
|
||||
msgstr ""
|
||||
"Как французское слово <a href=\"https://fr.wikipedia.org/wiki/Lutin\">lutin</"
|
||||
"a> (/ly.tɛ̃/)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:153 themes/default/templates/index.html.ep:184
|
||||
msgid "Keep EXIF tags"
|
||||
msgstr "Сохранить EXIF-теги"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:40
|
||||
msgid "Language"
|
||||
msgstr "Язык"
|
||||
|
||||
#: themes/default/templates/index.html.ep:118 themes/default/templates/index.html.ep:166 themes/default/templates/index.html.ep:206 themes/default/templates/partial/lutim.js.ep:167
|
||||
msgid "Let's go!"
|
||||
msgstr "Вперёд!"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:74
|
||||
msgid "License:"
|
||||
msgstr "Лицензия:"
|
||||
|
||||
#: themes/default/templates/index.html.ep:89 themes/default/templates/index.html.ep:91 themes/default/templates/partial/lutim.js.ep:114 themes/default/templates/partial/lutim.js.ep:118
|
||||
msgid "Link for share on social networks"
|
||||
msgstr "Ссылка для того, чтоб поделиться в социальных сетях"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:7
|
||||
msgid ""
|
||||
"Lutim can't zip so many images at once, so it splitted your demand in "
|
||||
"multiple URLs."
|
||||
msgstr ""
|
||||
"Lutim не может сархивировать так много картинок за раз, поэтому ваш запрос "
|
||||
"разбит на несколько URL."
|
||||
|
||||
#: themes/default/templates/about.html.ep:4
|
||||
msgid ""
|
||||
"Lutim is a free (as in free beer) and anonymous image hosting service. It's "
|
||||
"also the name of the free (as in free speech) software which provides this "
|
||||
"service."
|
||||
msgstr ""
|
||||
"Lutim — это бесплатный (as in free beer) и анонимный сервис размещения "
|
||||
"изображений. Также это название свободного (as in free speech) программного "
|
||||
"обеспечения, предоставляющего этот сервис."
|
||||
|
||||
#: themes/default/templates/about.html.ep:25
|
||||
msgid "Main developers"
|
||||
msgstr "Главные разработчики"
|
||||
|
||||
#: themes/default/templates/index.html.ep:73 themes/default/templates/index.html.ep:75 themes/default/templates/partial/lutim.js.ep:88 themes/default/templates/partial/lutim.js.ep:91
|
||||
msgid "Markdown syntax"
|
||||
msgstr "Синтаксис Маркдауна"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:2 themes/default/templates/partial/navbar.html.ep:26
|
||||
msgid "My images"
|
||||
msgstr "Мои изображения"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:43
|
||||
msgid "Next (arrow right)"
|
||||
msgstr "Следующий (стрелка вправо)"
|
||||
|
||||
#: themes/default/templates/partial/myfiles.js.ep:19
|
||||
msgid "No limit"
|
||||
msgstr "Без ограничений"
|
||||
|
||||
#: themes/default/templates/index.html.ep:165 themes/default/templates/index.html.ep:198
|
||||
msgid "Only images are allowed"
|
||||
msgstr "Разрешены только изображения"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:6
|
||||
msgid ""
|
||||
"Only the images sent with this browser will be listed here. The details are "
|
||||
"stored in localStorage: if you delete your localStorage data, you'll loose "
|
||||
"these details."
|
||||
msgstr ""
|
||||
"Здесь перечислены только изображения, загруженные через браузер. Статистика "
|
||||
"хранится в localStorage: если вы удалите данные localStorage, вы потеряете "
|
||||
"эту статистику."
|
||||
|
||||
#: themes/default/templates/about.html.ep:16
|
||||
msgid ""
|
||||
"Only the uploader! (well, only if he's the only owner of the images' rights "
|
||||
"before the upload)"
|
||||
msgstr ""
|
||||
"Только тот, кто загрузил! (ну хорошо, только если он — единственный "
|
||||
"правообладатель изображений до загрузки)"
|
||||
|
||||
#: themes/default/templates/zip.html.ep:12
|
||||
msgid "Please click on each URL to download the different zip files."
|
||||
msgstr ""
|
||||
"Пожалуйста, щёлкните по каждому URL для скачивания отдельными zip-архивами."
|
||||
|
||||
#. (config('contact')
|
||||
#: themes/default/templates/about.html.ep:19
|
||||
msgid "Please contact the administrator: %1"
|
||||
msgstr "Пожалуйста, свяжитесь с администратором: %1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:41
|
||||
msgid "Previous (arrow left)"
|
||||
msgstr "Предыдущий (стрелка влево)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:22
|
||||
msgid "Raw stats"
|
||||
msgstr "Сырые статистические данные"
|
||||
|
||||
#: themes/default/templates/index.html.ep:158
|
||||
msgid "Send an image"
|
||||
msgstr "Послать изображение"
|
||||
|
||||
#: themes/default/templates/partial/lutim.js.ep:23
|
||||
msgid "Share it!"
|
||||
msgstr "Поделиться!"
|
||||
|
||||
#: themes/default/templates/index.html.ep:133 themes/default/templates/partial/gallery.js.ep:211 themes/default/templates/partial/lutim.js.ep:178
|
||||
msgid "Something bad happened"
|
||||
msgstr "Произошло что-то плохое"
|
||||
|
||||
#. ($c->config('contact')
|
||||
#: lib/Lutim/Controller.pm:755
|
||||
msgid ""
|
||||
"Something went wrong when creating the zip file. Try again later or contact "
|
||||
"the administrator (%1)."
|
||||
msgstr ""
|
||||
"Что-то пошло не так при создании zip-архива. Попробуйте позже или свяжитесь "
|
||||
"с администратором (%1)."
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:52
|
||||
msgid "Support the author"
|
||||
msgstr "Поддержать автора"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:60
|
||||
msgid "Support the author on Liberapay"
|
||||
msgstr "Поддержать автора на Liberapay"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:57
|
||||
msgid "Support the author on Tipeee"
|
||||
msgstr "Поддержать автора на Tipeee"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:63
|
||||
msgid "Support the author with bitcoins"
|
||||
msgstr "Поддержать автора биткойнами"
|
||||
|
||||
#: themes/default/templates/about.html.ep:13
|
||||
msgid ""
|
||||
"The IP address of the image's sender is retained for a delay which depends "
|
||||
"of the administrator's choice (for the official instance, which is located "
|
||||
"in France, it's one year)."
|
||||
msgstr ""
|
||||
"IP-адрес отправителя изображений сохраняется на время, зависящее от решения "
|
||||
"администратора (официальное требование во Франции — один год)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:23
|
||||
msgid ""
|
||||
"The Lutim software is a <a href=\"http://en.wikipedia.org/wiki/"
|
||||
"Free_software\">free software</a>, which allows you to download and install "
|
||||
"it on you own server. Have a look at the <a href=\"https://www.gnu.org/"
|
||||
"licenses/agpl-3.0.html\">AGPL</a> to see what you can do."
|
||||
msgstr ""
|
||||
"Lutim — это <a href=\"https://ru.wikipedia.org/wiki/"
|
||||
"%D0%A1%D0%B2%D0%BE%D0%B1%D0%BE%D0%B4%D0%BD%D0%BE%D0%B5_%D0%BF%D1%80%D0%BE%D0%B3%D1%80%D0%B0%D0%BC%D0%BC%D0%BD%D0%BE%D0%B5_%D0%BE%D0%B1%D0%B5%D1%81%D0%BF%D0%B5%D1%87%D0%B5%D0%BD%D0%B8%D0%B5\">свободное "
|
||||
"программное обеспечение</a>, которое вы можете скачать и установить на свой "
|
||||
"сервер. Посмотрите <a href=\"https://www.gnu.org/licenses/agpl-3.0."
|
||||
"html\">AGPL</a>, чтоб увидеть, что вы можете делать."
|
||||
|
||||
#: lib/Lutim/Controller.pm:345
|
||||
msgid "The URL is not valid."
|
||||
msgstr "Недопустимый URL."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:16
|
||||
msgid ""
|
||||
"The automatic download process will open a tab in your browser for each link."
|
||||
" You need to allow popups for Lutim."
|
||||
msgstr ""
|
||||
"Процесс автоматического скачивания откроет вкладку в вашем браузере для "
|
||||
"каждой ссылки. Вам надо разрешить всплывающие окна для Lutim."
|
||||
|
||||
#: lib/Lutim/Controller.pm:158 lib/Lutim/Controller.pm:226
|
||||
msgid "The delete token is invalid."
|
||||
msgstr "Неправильный ключ для удаления."
|
||||
|
||||
#. ($upload->filename)
|
||||
#: lib/Lutim/Controller.pm:486
|
||||
msgid "The file %1 is not an image."
|
||||
msgstr "Файл %1 — не изображение."
|
||||
|
||||
#. ($tx->res->max_message_size)
|
||||
#. ($c->req->max_message_size)
|
||||
#. (config('max_file_size')
|
||||
#: lib/Lutim/Controller.pm:309 lib/Lutim/Controller.pm:378 themes/default/templates/partial/lutim.js.ep:244
|
||||
msgid "The file exceed the size limit (%1)"
|
||||
msgstr "Размер файла превосходит ограничение (%1)"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:12
|
||||
msgid "The graph's datas are not updated in real-time."
|
||||
msgstr "Данные графиков не обновляются в реальном времени."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:228
|
||||
msgid "The image %1 has already been deleted."
|
||||
msgstr "Изображение %1 уже было удалено."
|
||||
|
||||
#. ($image->filename)
|
||||
#: lib/Lutim/Controller.pm:237 lib/Lutim/Controller.pm:242
|
||||
msgid "The image %1 has been successfully deleted"
|
||||
msgstr "Изображение %1 успешно удалено"
|
||||
|
||||
#: lib/Lutim/Controller.pm:166
|
||||
msgid "The image's delay has been successfully modified"
|
||||
msgstr "Срок хранения изображения успешно изменён"
|
||||
|
||||
#: themes/default/templates/index.html.ep:45
|
||||
msgid "The images are encrypted on the server (Lutim does not keep the key)."
|
||||
msgstr "Изображения зашифрованы на сервере (Lutim не хранит ключ)."
|
||||
|
||||
#: themes/default/templates/about.html.ep:5
|
||||
msgid ""
|
||||
"The images you post on Lutim can be stored indefinitely or be deleted at "
|
||||
"first view or after a delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Изображения, загружаемые в Lutim, могут храниться неопределённо долго либо "
|
||||
"быть удалёнными после первого просмотра или по истечении определённого "
|
||||
"промежутка времени."
|
||||
|
||||
#. ($c->config->{contact})
|
||||
#: lib/Lutim/Controller.pm:483
|
||||
msgid "There is no more available URL. Retry or contact the administrator. %1"
|
||||
msgstr ""
|
||||
"Больше нет доступных URL. Попробуйте снова или свяжитесь с администратором. "
|
||||
"%1"
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:28
|
||||
msgid "Toggle fullscreen"
|
||||
msgstr "Переключить полноэкранный режим"
|
||||
|
||||
#: themes/default/templates/partial/navbar.html.ep:16
|
||||
msgid "Toggle navigation"
|
||||
msgstr "Переключить навигацию"
|
||||
|
||||
#: lib/Lutim/Command/cron/stats.pm:152 themes/default/templates/raw.html.ep:11
|
||||
msgid "Total"
|
||||
msgstr "Итого"
|
||||
|
||||
#: themes/default/templates/index.html.ep:60 themes/default/templates/partial/lutim.js.ep:17
|
||||
msgid "Tweet it!"
|
||||
msgstr "Твитнуть!"
|
||||
|
||||
#. ($short)
|
||||
#: lib/Lutim/Controller.pm:106 lib/Lutim/Controller.pm:200 lib/Lutim/Controller.pm:271
|
||||
msgid "Unable to find the image %1."
|
||||
msgstr "Невозможно найти изображение %1."
|
||||
|
||||
#: lib/Lutim/Controller.pm:572 lib/Lutim/Controller.pm:617 lib/Lutim/Controller.pm:654 lib/Lutim/Controller.pm:697 lib/Lutim/Controller.pm:709 lib/Lutim/Controller.pm:720 lib/Lutim/Controller.pm:745 lib/Lutim/Plugin/Helpers.pm:84
|
||||
msgid "Unable to find the image: it has been deleted."
|
||||
msgstr "Невозможно найти изображение: оно было удалено."
|
||||
|
||||
#: lib/Lutim/Controller.pm:143
|
||||
msgid "Unable to get counter"
|
||||
msgstr "Невозможно получить счётчик"
|
||||
|
||||
#: themes/default/templates/about.html.ep:17
|
||||
msgid ""
|
||||
"Unlike many image sharing services, you don't give us rights on uploaded "
|
||||
"images."
|
||||
msgstr ""
|
||||
"В отличие от многих сервисов публикации изображений, вы не даёте нам права "
|
||||
"на переданные изображения."
|
||||
|
||||
#: themes/default/templates/index.html.ep:162 themes/default/templates/index.html.ep:201
|
||||
msgid "Upload an image with its URL"
|
||||
msgstr "Загрузить изображение с URL"
|
||||
|
||||
#: themes/default/templates/myfiles.html.ep:54
|
||||
msgid "Uploaded at"
|
||||
msgstr "Загружено в"
|
||||
|
||||
#: themes/default/templates/stats.html.ep:6
|
||||
msgid "Uploaded files by days"
|
||||
msgstr "Загружено файлов по дням"
|
||||
|
||||
#. ($c->app->config('contact')
|
||||
#: lib/Lutim/Plugin/Helpers.pm:183
|
||||
msgid ""
|
||||
"Uploading is currently disabled, please try later or contact the "
|
||||
"administrator (%1)."
|
||||
msgstr ""
|
||||
"Загрузка сейчас отключена, пожалуйста, попробуйте позже или свяжитесь с "
|
||||
"администратором (%1)."
|
||||
|
||||
#: themes/default/templates/index.html.ep:65 themes/default/templates/index.html.ep:67 themes/default/templates/myfiles.html.ep:51 themes/default/templates/partial/lutim.js.ep:74 themes/default/templates/partial/lutim.js.ep:78
|
||||
msgid "View link"
|
||||
msgstr "Ссылка на просмотр"
|
||||
|
||||
#: themes/default/templates/about.html.ep:22
|
||||
msgid "What about the software which provides the service?"
|
||||
msgstr "Что насчёт программного обеспечения, предоставляющего этот сервис?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:3
|
||||
msgid "What is Lutim?"
|
||||
msgstr "Что такое Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:15
|
||||
msgid "Who owns rights on images uploaded on Lutim?"
|
||||
msgstr "Кто обладает правами на изображения, загруженные на Lutim?"
|
||||
|
||||
#: themes/default/templates/about.html.ep:12
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, for legal reasons, your IP address will be "
|
||||
"stored when you send an image. Don't panic, it is normally the case of all "
|
||||
"sites on which you send files!"
|
||||
msgstr ""
|
||||
"Да, это так! С другой стороны, согласно требованиям закона, ваш IP-адрес "
|
||||
"будет сохранён при загрузке изображения. Без паники, это обычная практика на "
|
||||
"всех сайтах, куда посылают файлы."
|
||||
|
||||
#: themes/default/templates/about.html.ep:10
|
||||
msgid ""
|
||||
"Yes, it is! On the other side, if you want to support the developer, you can "
|
||||
"do it via <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</a> or via <a "
|
||||
"href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
msgstr ""
|
||||
"Да, это так! С другой стороны, если вы хотите поддержать разработчика, вы "
|
||||
"можете сделать это через <a href=\"https://www.tipeee.com/fiat-tux\">Tipeee</"
|
||||
"a> или <a href=\"https://liberapay.com/sky/\">Liberapay</a>."
|
||||
|
||||
#: themes/default/templates/zip.html.ep:6
|
||||
msgid "You asked to download a zip archive for too much files."
|
||||
msgstr "Вы запросили скачивание zip-архива с очень большим числом файлов."
|
||||
|
||||
#: themes/default/templates/about.html.ep:8
|
||||
msgid ""
|
||||
"You can, optionally, request that the image(s) posted on Lutim to be deleted "
|
||||
"at first view (or download) or after the delay selected from those proposed."
|
||||
msgstr ""
|
||||
"Вы можете, при желании, запросить, чтоб загруженные в Lutim изображения были "
|
||||
"удалены после первого просмотра (либо скачивания) или по истечении "
|
||||
"выбранного промежутка времени."
|
||||
|
||||
#: themes/default/templates/gallery.html.ep:29
|
||||
msgid "Zoom in/out"
|
||||
msgstr "Приблизить/отдалить"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "and on"
|
||||
msgstr "и на"
|
||||
|
||||
#: themes/default/templates/about.html.ep:40
|
||||
msgid "arabic translation"
|
||||
msgstr "арабский перевод"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "core developer"
|
||||
msgstr "разработчик ядра"
|
||||
|
||||
#: lib/Lutim.pm:185 lib/Lutim/Command/cron/stats.pm:147 lib/Lutim/Command/cron/stats.pm:158 lib/Lutim/Command/cron/stats.pm:175 themes/default/templates/index.html.ep:3 themes/default/templates/raw.html.ep:17 themes/default/templates/raw.html.ep:34 themes/default/templates/raw.html.ep:6
|
||||
msgid "no time limit"
|
||||
msgstr "без ограничения времени"
|
||||
|
||||
#: themes/default/templates/about.html.ep:38
|
||||
msgid "occitan translation"
|
||||
msgstr "окситанский перевод"
|
||||
|
||||
#: themes/default/templates/about.html.ep:27
|
||||
msgid "on"
|
||||
msgstr "в"
|
||||
|
||||
#: themes/default/templates/about.html.ep:39
|
||||
msgid "paste image to upload ability"
|
||||
msgstr "paste image to upload ability"
|
||||
|
||||
#: themes/default/templates/about.html.ep:41
|
||||
msgid "russian translation"
|
||||
msgstr "русский перевод"
|
||||
|
||||
#: themes/default/templates/about.html.ep:36
|
||||
msgid "spanish translation"
|
||||
msgstr "испанский перевод"
|
||||
|
||||
#: themes/default/templates/about.html.ep:28
|
||||
msgid "webapp developer"
|
||||
msgstr "разработчик веб-приложения"
|
||||
14
themes/default/public/css/bootstrap.min.css
vendored
Normal file
482
themes/default/public/css/default-skin/default-skin.css
Normal file
@@ -0,0 +1,482 @@
|
||||
/*! PhotoSwipe Default UI CSS by Dmitry Semenov | photoswipe.com | MIT license */
|
||||
/*
|
||||
|
||||
Contents:
|
||||
|
||||
1. Buttons
|
||||
2. Share modal and links
|
||||
3. Index indicator ("1 of X" counter)
|
||||
4. Caption
|
||||
5. Loading indicator
|
||||
6. Additional styles (root element, top bar, idle state, hidden state, etc.)
|
||||
|
||||
*/
|
||||
/*
|
||||
|
||||
1. Buttons
|
||||
|
||||
*/
|
||||
/* <button> css reset */
|
||||
.pswp__button {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
position: relative;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
overflow: visible;
|
||||
-webkit-appearance: none;
|
||||
display: block;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
float: right;
|
||||
opacity: 0.75;
|
||||
-webkit-transition: opacity 0.2s;
|
||||
transition: opacity 0.2s;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none; }
|
||||
.pswp__button:focus, .pswp__button:hover {
|
||||
opacity: 1; }
|
||||
.pswp__button:active {
|
||||
outline: none;
|
||||
opacity: 0.9; }
|
||||
.pswp__button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0; }
|
||||
|
||||
/* pswp__ui--over-close class it added when mouse is over element that should close gallery */
|
||||
.pswp__ui--over-close .pswp__button--close {
|
||||
opacity: 1; }
|
||||
|
||||
.pswp__button,
|
||||
.pswp__button--arrow--left:before,
|
||||
.pswp__button--arrow--right:before {
|
||||
background: url(default-skin.png) 0 0 no-repeat;
|
||||
background-size: 264px 88px;
|
||||
width: 44px;
|
||||
height: 44px; }
|
||||
|
||||
@media (-webkit-min-device-pixel-ratio: 1.1), (-webkit-min-device-pixel-ratio: 1.09375), (min-resolution: 105dpi), (min-resolution: 1.1dppx) {
|
||||
/* Serve SVG sprite if browser supports SVG and resolution is more than 105dpi */
|
||||
.pswp--svg .pswp__button,
|
||||
.pswp--svg .pswp__button--arrow--left:before,
|
||||
.pswp--svg .pswp__button--arrow--right:before {
|
||||
background-image: url(default-skin.svg); }
|
||||
.pswp--svg .pswp__button--arrow--left,
|
||||
.pswp--svg .pswp__button--arrow--right {
|
||||
background: none; } }
|
||||
|
||||
.pswp__button--close {
|
||||
background-position: 0 -44px; }
|
||||
|
||||
.pswp__button--share {
|
||||
background-position: -44px -44px; }
|
||||
|
||||
.pswp__button--fs {
|
||||
display: none; }
|
||||
|
||||
.pswp--supports-fs .pswp__button--fs {
|
||||
display: block; }
|
||||
|
||||
.pswp--fs .pswp__button--fs {
|
||||
background-position: -44px 0; }
|
||||
|
||||
.pswp__button--zoom {
|
||||
display: none;
|
||||
background-position: -88px 0; }
|
||||
|
||||
.pswp--zoom-allowed .pswp__button--zoom {
|
||||
display: block; }
|
||||
|
||||
.pswp--zoomed-in .pswp__button--zoom {
|
||||
background-position: -132px 0; }
|
||||
|
||||
/* no arrows on touch screens */
|
||||
.pswp--touch .pswp__button--arrow--left,
|
||||
.pswp--touch .pswp__button--arrow--right {
|
||||
visibility: hidden; }
|
||||
|
||||
/*
|
||||
Arrow buttons hit area
|
||||
(icon is added to :before pseudo-element)
|
||||
*/
|
||||
.pswp__button--arrow--left,
|
||||
.pswp__button--arrow--right {
|
||||
background: none;
|
||||
top: 50%;
|
||||
margin-top: -50px;
|
||||
width: 70px;
|
||||
height: 100px;
|
||||
position: absolute; }
|
||||
|
||||
.pswp__button--arrow--left {
|
||||
left: 0; }
|
||||
|
||||
.pswp__button--arrow--right {
|
||||
right: 0; }
|
||||
|
||||
.pswp__button--arrow--left:before,
|
||||
.pswp__button--arrow--right:before {
|
||||
content: '';
|
||||
top: 35px;
|
||||
background-color: rgba(0, 0, 0, 0.3);
|
||||
height: 30px;
|
||||
width: 32px;
|
||||
position: absolute; }
|
||||
|
||||
.pswp__button--arrow--left:before {
|
||||
left: 6px;
|
||||
background-position: -138px -44px; }
|
||||
|
||||
.pswp__button--arrow--right:before {
|
||||
right: 6px;
|
||||
background-position: -94px -44px; }
|
||||
|
||||
/*
|
||||
|
||||
2. Share modal/popup and links
|
||||
|
||||
*/
|
||||
.pswp__counter,
|
||||
.pswp__share-modal {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
.pswp__share-modal {
|
||||
display: block;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
padding: 10px;
|
||||
position: absolute;
|
||||
z-index: 1600;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.25s ease-out;
|
||||
transition: opacity 0.25s ease-out;
|
||||
-webkit-backface-visibility: hidden;
|
||||
will-change: opacity; }
|
||||
|
||||
.pswp__share-modal--hidden {
|
||||
display: none; }
|
||||
|
||||
.pswp__share-tooltip {
|
||||
z-index: 1620;
|
||||
position: absolute;
|
||||
background: #FFF;
|
||||
top: 56px;
|
||||
border-radius: 2px;
|
||||
display: block;
|
||||
width: auto;
|
||||
right: 44px;
|
||||
-webkit-box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
|
||||
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
|
||||
-webkit-transform: translateY(6px);
|
||||
-ms-transform: translateY(6px);
|
||||
transform: translateY(6px);
|
||||
-webkit-transition: -webkit-transform 0.25s;
|
||||
transition: transform 0.25s;
|
||||
-webkit-backface-visibility: hidden;
|
||||
will-change: transform; }
|
||||
.pswp__share-tooltip a {
|
||||
display: block;
|
||||
padding: 8px 12px;
|
||||
color: #000;
|
||||
text-decoration: none;
|
||||
font-size: 14px;
|
||||
line-height: 18px; }
|
||||
.pswp__share-tooltip a:hover {
|
||||
text-decoration: none;
|
||||
color: #000; }
|
||||
.pswp__share-tooltip a:first-child {
|
||||
/* round corners on the first/last list item */
|
||||
border-radius: 2px 2px 0 0; }
|
||||
.pswp__share-tooltip a:last-child {
|
||||
border-radius: 0 0 2px 2px; }
|
||||
|
||||
.pswp__share-modal--fade-in {
|
||||
opacity: 1; }
|
||||
.pswp__share-modal--fade-in .pswp__share-tooltip {
|
||||
-webkit-transform: translateY(0);
|
||||
-ms-transform: translateY(0);
|
||||
transform: translateY(0); }
|
||||
|
||||
/* increase size of share links on touch devices */
|
||||
.pswp--touch .pswp__share-tooltip a {
|
||||
padding: 16px 12px; }
|
||||
|
||||
a.pswp__share--facebook:before {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
right: 15px;
|
||||
border: 6px solid transparent;
|
||||
border-bottom-color: #FFF;
|
||||
-webkit-pointer-events: none;
|
||||
-moz-pointer-events: none;
|
||||
pointer-events: none; }
|
||||
|
||||
a.pswp__share--facebook:hover {
|
||||
background: #3E5C9A;
|
||||
color: #FFF; }
|
||||
a.pswp__share--facebook:hover:before {
|
||||
border-bottom-color: #3E5C9A; }
|
||||
|
||||
a.pswp__share--twitter:hover {
|
||||
background: #55ACEE;
|
||||
color: #FFF; }
|
||||
|
||||
a.pswp__share--pinterest:hover {
|
||||
background: #CCC;
|
||||
color: #CE272D; }
|
||||
|
||||
a.pswp__share--download:hover {
|
||||
background: #DDD; }
|
||||
|
||||
/*
|
||||
|
||||
3. Index indicator ("1 of X" counter)
|
||||
|
||||
*/
|
||||
.pswp__counter {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 44px;
|
||||
font-size: 13px;
|
||||
line-height: 44px;
|
||||
color: #FFF;
|
||||
opacity: 0.75;
|
||||
padding: 0 10px; }
|
||||
|
||||
/*
|
||||
|
||||
4. Caption
|
||||
|
||||
*/
|
||||
.pswp__caption {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
min-height: 44px; }
|
||||
.pswp__caption small {
|
||||
font-size: 11px;
|
||||
color: #BBB; }
|
||||
|
||||
.pswp__caption__center {
|
||||
text-align: left;
|
||||
max-width: 420px;
|
||||
margin: 0 auto;
|
||||
font-size: 13px;
|
||||
padding: 10px;
|
||||
line-height: 20px;
|
||||
color: #CCC; }
|
||||
|
||||
.pswp__caption--empty {
|
||||
display: none; }
|
||||
|
||||
/* Fake caption element, used to calculate height of next/prev image */
|
||||
.pswp__caption--fake {
|
||||
visibility: hidden; }
|
||||
|
||||
/*
|
||||
|
||||
5. Loading indicator (preloader)
|
||||
|
||||
You can play with it here - http://codepen.io/dimsemenov/pen/yyBWoR
|
||||
|
||||
*/
|
||||
.pswp__preloader {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
margin-left: -22px;
|
||||
opacity: 0;
|
||||
-webkit-transition: opacity 0.25s ease-out;
|
||||
transition: opacity 0.25s ease-out;
|
||||
will-change: opacity;
|
||||
direction: ltr; }
|
||||
|
||||
.pswp__preloader__icn {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
margin: 12px; }
|
||||
|
||||
.pswp__preloader--active {
|
||||
opacity: 1; }
|
||||
.pswp__preloader--active .pswp__preloader__icn {
|
||||
/* We use .gif in browsers that don't support CSS animation */
|
||||
background: url(preloader.gif) 0 0 no-repeat; }
|
||||
|
||||
.pswp--css_animation .pswp__preloader--active {
|
||||
opacity: 1; }
|
||||
.pswp--css_animation .pswp__preloader--active .pswp__preloader__icn {
|
||||
-webkit-animation: clockwise 500ms linear infinite;
|
||||
animation: clockwise 500ms linear infinite; }
|
||||
.pswp--css_animation .pswp__preloader--active .pswp__preloader__donut {
|
||||
-webkit-animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
|
||||
animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite; }
|
||||
|
||||
.pswp--css_animation .pswp__preloader__icn {
|
||||
background: none;
|
||||
opacity: 0.75;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
position: absolute;
|
||||
left: 15px;
|
||||
top: 15px;
|
||||
margin: 0; }
|
||||
|
||||
.pswp--css_animation .pswp__preloader__cut {
|
||||
/*
|
||||
The idea of animating inner circle is based on Polymer ("material") loading indicator
|
||||
by Keanu Lee https://blog.keanulee.com/2014/10/20/the-tale-of-three-spinners.html
|
||||
*/
|
||||
position: relative;
|
||||
width: 7px;
|
||||
height: 14px;
|
||||
overflow: hidden; }
|
||||
|
||||
.pswp--css_animation .pswp__preloader__donut {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
border: 2px solid #FFF;
|
||||
border-radius: 50%;
|
||||
border-left-color: transparent;
|
||||
border-bottom-color: transparent;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
background: none;
|
||||
margin: 0; }
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
.pswp__preloader {
|
||||
position: relative;
|
||||
left: auto;
|
||||
top: auto;
|
||||
margin: 0;
|
||||
float: right; } }
|
||||
|
||||
@-webkit-keyframes clockwise {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg); }
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg); } }
|
||||
|
||||
@keyframes clockwise {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg); }
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg); } }
|
||||
|
||||
@-webkit-keyframes donut-rotate {
|
||||
0% {
|
||||
-webkit-transform: rotate(0);
|
||||
transform: rotate(0); }
|
||||
50% {
|
||||
-webkit-transform: rotate(-140deg);
|
||||
transform: rotate(-140deg); }
|
||||
100% {
|
||||
-webkit-transform: rotate(0);
|
||||
transform: rotate(0); } }
|
||||
|
||||
@keyframes donut-rotate {
|
||||
0% {
|
||||
-webkit-transform: rotate(0);
|
||||
transform: rotate(0); }
|
||||
50% {
|
||||
-webkit-transform: rotate(-140deg);
|
||||
transform: rotate(-140deg); }
|
||||
100% {
|
||||
-webkit-transform: rotate(0);
|
||||
transform: rotate(0); } }
|
||||
|
||||
/*
|
||||
|
||||
6. Additional styles
|
||||
|
||||
*/
|
||||
/* root element of UI */
|
||||
.pswp__ui {
|
||||
-webkit-font-smoothing: auto;
|
||||
visibility: visible;
|
||||
opacity: 1;
|
||||
z-index: 1550; }
|
||||
|
||||
/* top black bar with buttons and "1 of X" indicator */
|
||||
.pswp__top-bar {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
height: 44px;
|
||||
width: 100%; }
|
||||
|
||||
.pswp__caption,
|
||||
.pswp__top-bar,
|
||||
.pswp--has_mouse .pswp__button--arrow--left,
|
||||
.pswp--has_mouse .pswp__button--arrow--right {
|
||||
-webkit-backface-visibility: hidden;
|
||||
will-change: opacity;
|
||||
-webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
|
||||
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
|
||||
|
||||
/* pswp--has_mouse class is added only when two subsequent mousemove events occur */
|
||||
.pswp--has_mouse .pswp__button--arrow--left,
|
||||
.pswp--has_mouse .pswp__button--arrow--right {
|
||||
visibility: visible; }
|
||||
|
||||
.pswp__top-bar,
|
||||
.pswp__caption {
|
||||
background-color: rgba(0, 0, 0, 0.5); }
|
||||
|
||||
/* pswp__ui--fit class is added when main image "fits" between top bar and bottom bar (caption) */
|
||||
.pswp__ui--fit .pswp__top-bar,
|
||||
.pswp__ui--fit .pswp__caption {
|
||||
background-color: rgba(0, 0, 0, 0.3); }
|
||||
|
||||
/* pswp__ui--idle class is added when mouse isn't moving for several seconds (JS option timeToIdle) */
|
||||
.pswp__ui--idle .pswp__top-bar {
|
||||
opacity: 0; }
|
||||
|
||||
.pswp__ui--idle .pswp__button--arrow--left,
|
||||
.pswp__ui--idle .pswp__button--arrow--right {
|
||||
opacity: 0; }
|
||||
|
||||
/*
|
||||
pswp__ui--hidden class is added when controls are hidden
|
||||
e.g. when user taps to toggle visibility of controls
|
||||
*/
|
||||
.pswp__ui--hidden .pswp__top-bar,
|
||||
.pswp__ui--hidden .pswp__caption,
|
||||
.pswp__ui--hidden .pswp__button--arrow--left,
|
||||
.pswp__ui--hidden .pswp__button--arrow--right {
|
||||
/* Force paint & create composition layer for controls. */
|
||||
opacity: 0.001; }
|
||||
|
||||
/* pswp__ui--one-slide class is added when there is just one item in gallery */
|
||||
.pswp__ui--one-slide .pswp__button--arrow--left,
|
||||
.pswp__ui--one-slide .pswp__button--arrow--right,
|
||||
.pswp__ui--one-slide .pswp__counter {
|
||||
display: none; }
|
||||
|
||||
.pswp__element--disabled {
|
||||
display: none !important; }
|
||||
|
||||
.pswp--minimal--dark .pswp__top-bar {
|
||||
background: none; }
|
||||
BIN
themes/default/public/css/default-skin/default-skin.png
Normal file
|
After Width: | Height: | Size: 547 B |
1
themes/default/public/css/default-skin/default-skin.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="264" height="88" viewBox="0 0 264 88" xmlns="http://www.w3.org/2000/svg"><title>default-skin 2</title><g fill="none" fill-rule="evenodd"><g><path d="M67.002 59.5v3.768c-6.307.84-9.184 5.75-10.002 9.732 2.22-2.83 5.564-5.098 10.002-5.098V71.5L73 65.585 67.002 59.5z" id="Shape" fill="#fff"/><g fill="#fff"><path d="M13 29v-5h2v3h3v2h-5zM13 15h5v2h-3v3h-2v-5zM31 15v5h-2v-3h-3v-2h5zM31 29h-5v-2h3v-3h2v5z" id="Shape"/></g><g fill="#fff"><path d="M62 24v5h-2v-3h-3v-2h5zM62 20h-5v-2h3v-3h2v5zM70 20v-5h2v3h3v2h-5zM70 24h5v2h-3v3h-2v-5z"/></g><path d="M20.586 66l-5.656-5.656 1.414-1.414L22 64.586l5.656-5.656 1.414 1.414L23.414 66l5.656 5.656-1.414 1.414L22 67.414l-5.656 5.656-1.414-1.414L20.586 66z" fill="#fff"/><path d="M111.785 65.03L110 63.5l3-3.5h-10v-2h10l-3-3.5 1.785-1.468L117 59l-5.215 6.03z" fill="#fff"/><path d="M152.215 65.03L154 63.5l-3-3.5h10v-2h-10l3-3.5-1.785-1.468L147 59l5.215 6.03z" fill="#fff"/><g><path id="Rectangle-11" fill="#fff" d="M160.957 28.543l-3.25-3.25-1.413 1.414 3.25 3.25z"/><path d="M152.5 27c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5-5.5 2.462-5.5 5.5 2.462 5.5 5.5 5.5z" id="Oval-1" stroke="#fff" stroke-width="1.5"/><path fill="#fff" d="M150 21h5v1h-5z"/></g><g><path d="M116.957 28.543l-1.414 1.414-3.25-3.25 1.414-1.414 3.25 3.25z" fill="#fff"/><path d="M108.5 27c3.038 0 5.5-2.462 5.5-5.5s-2.462-5.5-5.5-5.5-5.5 2.462-5.5 5.5 2.462 5.5 5.5 5.5z" stroke="#fff" stroke-width="1.5"/><path fill="#fff" d="M106 21h5v1h-5z"/><path fill="#fff" d="M109.043 19.008l-.085 5-1-.017.085-5z"/></g></g></g></svg>
|
||||
|
After Width: | Height: | Size: 1.5 KiB |
BIN
themes/default/public/css/default-skin/preloader.gif
Normal file
|
After Width: | Height: | Size: 866 B |
@@ -12,4 +12,5 @@
|
||||
.icon-flattr:before { content: '\e80a'; } /* '' */
|
||||
.icon-cancel:before { content: '\e80b'; } /* '' */
|
||||
.icon-picture:before { content: '\e80c'; } /* '' */
|
||||
.icon-file-archive:before { content: '\e80d'; } /* '' */
|
||||
.icon-file-archive:before { content: '\e80d'; } /* '' */
|
||||
.icon-language:before { content: '\e80e'; } /* '' */
|
||||
69
themes/default/public/css/fontello-embedded.css
vendored
Normal file
@@ -12,4 +12,5 @@
|
||||
.icon-flattr { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-picture { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-file-archive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-file-archive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-language { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
@@ -23,4 +23,5 @@
|
||||
.icon-flattr { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-cancel { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-picture { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-file-archive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-file-archive { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
.icon-language { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
|
||||
@@ -1,11 +1,11 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.eot?79499210');
|
||||
src: url('../font/fontello.eot?79499210#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff2?79499210') format('woff2'),
|
||||
url('../font/fontello.woff?79499210') format('woff'),
|
||||
url('../font/fontello.ttf?79499210') format('truetype'),
|
||||
url('../font/fontello.svg?79499210#fontello') format('svg');
|
||||
src: url('../font/fontello.eot?84200725');
|
||||
src: url('../font/fontello.eot?84200725#iefix') format('embedded-opentype'),
|
||||
url('../font/fontello.woff2?84200725') format('woff2'),
|
||||
url('../font/fontello.woff?84200725') format('woff'),
|
||||
url('../font/fontello.ttf?84200725') format('truetype'),
|
||||
url('../font/fontello.svg?84200725#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
@@ -15,7 +15,7 @@
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../font/fontello.svg?79499210#fontello') format('svg');
|
||||
src: url('../font/fontello.svg?84200725#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
@@ -68,4 +68,5 @@
|
||||
.icon-flattr:before { content: '\e80a'; } /* '' */
|
||||
.icon-cancel:before { content: '\e80b'; } /* '' */
|
||||
.icon-picture:before { content: '\e80c'; } /* '' */
|
||||
.icon-file-archive:before { content: '\e80d'; } /* '' */
|
||||
.icon-file-archive:before { content: '\e80d'; } /* '' */
|
||||
.icon-language:before { content: '\e80e'; } /* '' */
|
||||
7
themes/default/public/css/hennypenny.css
Normal file
@@ -0,0 +1,7 @@
|
||||
@font-face {
|
||||
font-family: 'Henny_Penny';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local('Henny Penny'), local('HennyPenny-Regular'), url(../font/hennypenny.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
}
|
||||
106
themes/default/public/css/lutim.css
Normal file
@@ -0,0 +1,106 @@
|
||||
/* vim:set sw=4 ts=4 sts=4 ft=css expandtab: */
|
||||
@media (max-width: 767px) {
|
||||
body {
|
||||
padding-top: 5px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
body {
|
||||
padding-bottom: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.container {
|
||||
padding: 15px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
nav .container {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.jsonly {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.thumbnail {
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
||||
.hennypenny {
|
||||
font-family: 'Henny_Penny', cursive;
|
||||
font-size: 42px;
|
||||
}
|
||||
|
||||
.logo {
|
||||
margin-right: 10px;
|
||||
}
|
||||
label.always-encrypt {
|
||||
display: none;
|
||||
}
|
||||
.link_nocol,
|
||||
.link_nocol:hover{
|
||||
color: #000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
#install-app img {
|
||||
height: 22px;
|
||||
}
|
||||
#install-app {
|
||||
display: none;
|
||||
}
|
||||
.form-control[readonly] {
|
||||
background-color: #FFFFFF;
|
||||
}
|
||||
.alert .form-group {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#copy-all {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
#gallery-url {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.adjust-addon {
|
||||
width: 42px;
|
||||
}
|
||||
.adjust-addon .btn {
|
||||
width: 43px;
|
||||
}
|
||||
#tipeee-img {
|
||||
margin-top: -4px;
|
||||
}
|
||||
#liberapay-img {
|
||||
height: 21px;
|
||||
line-height: 21px;
|
||||
margin-top: -5.33333px;
|
||||
}
|
||||
.pasteZone {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -100px;
|
||||
z-index: -999;
|
||||
height: 10000vh;
|
||||
width: 0;
|
||||
display: hidden;
|
||||
}
|
||||
.gallery figure {
|
||||
margin-right: auto;
|
||||
margin-left: auto;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.gallery { column-count: 4 }
|
||||
}
|
||||
@media (min-width: 991px) and (max-width: 1199px) {
|
||||
.gallery { column-count: 3 }
|
||||
}
|
||||
@media (min-width: 676px) and (max-width: 990px) {
|
||||
.gallery { column-count: 2 }
|
||||
}
|
||||
@media (max-width: 675px) {
|
||||
.gallery { column-count: 1 }
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
@font-face {
|
||||
font-family: 'markdown';
|
||||
src:url('../font/markdown.eot?-6fnbp5');
|
||||
src:url('../font/markdown.eot?#iefix-6fnbp5') format('embedded-opentype'),
|
||||
url('../font/markdown.woff?-6fnbp5') format('woff'),
|
||||
url('../font/markdown.ttf?-6fnbp5') format('truetype'),
|
||||
url('../font/markdown.svg?-6fnbp5#markdown') format('svg');
|
||||
src:url('../../font/markdown.eot?-6fnbp5');
|
||||
src:url('../../font/markdown.eot?#iefix-6fnbp5') format('embedded-opentype'),
|
||||
url('../../font/markdown.woff?-6fnbp5') format('woff'),
|
||||
url('../../font/markdown.ttf?-6fnbp5') format('truetype'),
|
||||
url('../../font/markdown.svg?-6fnbp5#markdown') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
179
themes/default/public/css/photoswipe.css
Normal file
@@ -0,0 +1,179 @@
|
||||
/*! PhotoSwipe main CSS by Dmitry Semenov | photoswipe.com | MIT license */
|
||||
/*
|
||||
Styles for basic PhotoSwipe functionality (sliding area, open/close transitions)
|
||||
*/
|
||||
/* pswp = photoswipe */
|
||||
.pswp {
|
||||
display: none;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
overflow: hidden;
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
z-index: 1500;
|
||||
-webkit-text-size-adjust: 100%;
|
||||
/* create separate layer, to avoid paint on window.onscroll in webkit/blink */
|
||||
-webkit-backface-visibility: hidden;
|
||||
outline: none; }
|
||||
.pswp * {
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box; }
|
||||
.pswp img {
|
||||
max-width: none; }
|
||||
|
||||
/* style is added when JS option showHideOpacity is set to true */
|
||||
.pswp--animate_opacity {
|
||||
/* 0.001, because opacity:0 doesn't trigger Paint action, which causes lag at start of transition */
|
||||
opacity: 0.001;
|
||||
will-change: opacity;
|
||||
/* for open/close transition */
|
||||
-webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
|
||||
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
|
||||
|
||||
.pswp--open {
|
||||
display: block; }
|
||||
|
||||
.pswp--zoom-allowed .pswp__img {
|
||||
/* autoprefixer: off */
|
||||
cursor: -webkit-zoom-in;
|
||||
cursor: -moz-zoom-in;
|
||||
cursor: zoom-in; }
|
||||
|
||||
.pswp--zoomed-in .pswp__img {
|
||||
/* autoprefixer: off */
|
||||
cursor: -webkit-grab;
|
||||
cursor: -moz-grab;
|
||||
cursor: grab; }
|
||||
|
||||
.pswp--dragging .pswp__img {
|
||||
/* autoprefixer: off */
|
||||
cursor: -webkit-grabbing;
|
||||
cursor: -moz-grabbing;
|
||||
cursor: grabbing; }
|
||||
|
||||
/*
|
||||
Background is added as a separate element.
|
||||
As animating opacity is much faster than animating rgba() background-color.
|
||||
*/
|
||||
.pswp__bg {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: #000;
|
||||
opacity: 0;
|
||||
-webkit-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
-webkit-backface-visibility: hidden;
|
||||
will-change: opacity; }
|
||||
|
||||
.pswp__scroll-wrap {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
overflow: hidden; }
|
||||
|
||||
.pswp__container,
|
||||
.pswp__zoom-wrap {
|
||||
-ms-touch-action: none;
|
||||
touch-action: none;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0; }
|
||||
|
||||
/* Prevent selection and tap highlights */
|
||||
.pswp__container,
|
||||
.pswp__img {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
-webkit-touch-callout: none; }
|
||||
|
||||
.pswp__zoom-wrap {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
-webkit-transform-origin: left top;
|
||||
-ms-transform-origin: left top;
|
||||
transform-origin: left top;
|
||||
/* for open/close transition */
|
||||
-webkit-transition: -webkit-transform 333ms cubic-bezier(0.4, 0, 0.22, 1);
|
||||
transition: transform 333ms cubic-bezier(0.4, 0, 0.22, 1); }
|
||||
|
||||
.pswp__bg {
|
||||
will-change: opacity;
|
||||
/* for open/close transition */
|
||||
-webkit-transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
|
||||
transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1); }
|
||||
|
||||
.pswp--animated-in .pswp__bg,
|
||||
.pswp--animated-in .pswp__zoom-wrap {
|
||||
-webkit-transition: none;
|
||||
transition: none; }
|
||||
|
||||
.pswp__container,
|
||||
.pswp__zoom-wrap {
|
||||
-webkit-backface-visibility: hidden; }
|
||||
|
||||
.pswp__item {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
overflow: hidden; }
|
||||
|
||||
.pswp__img {
|
||||
position: absolute;
|
||||
width: auto;
|
||||
height: auto;
|
||||
top: 0;
|
||||
left: 0; }
|
||||
|
||||
/*
|
||||
stretched thumbnail or div placeholder element (see below)
|
||||
style is added to avoid flickering in webkit/blink when layers overlap
|
||||
*/
|
||||
.pswp__img--placeholder {
|
||||
-webkit-backface-visibility: hidden; }
|
||||
|
||||
/*
|
||||
div element that matches size of large image
|
||||
large image loads on top of it
|
||||
*/
|
||||
.pswp__img--placeholder--blank {
|
||||
background: #222; }
|
||||
|
||||
.pswp--ie .pswp__img {
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
left: 0;
|
||||
top: 0; }
|
||||
|
||||
/*
|
||||
Error message appears when image is not loaded
|
||||
(JS option errorMsg controls markup)
|
||||
*/
|
||||
.pswp__error-msg {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 50%;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
margin-top: -8px;
|
||||
color: #CCC; }
|
||||
|
||||
.pswp__error-msg a {
|
||||
color: #CCC;
|
||||
text-decoration: underline; }
|
||||
@@ -3,7 +3,7 @@ Font license info
|
||||
|
||||
## Font Awesome
|
||||
|
||||
Copyright (C) 2012 by Dave Gandy
|
||||
Copyright (C) 2016 by Dave Gandy
|
||||
|
||||
Author: Dave Gandy
|
||||
License: SIL ()
|
||||
@@ -55,3 +55,12 @@ Font license info
|
||||
Homepage: http://www.justbenicestudio.com/
|
||||
|
||||
|
||||
## Entypo
|
||||
|
||||
Copyright (C) 2012 by Daniel Bruce
|
||||
|
||||
Author: Daniel Bruce
|
||||
License: SIL (http://scripts.sil.org/OFL)
|
||||
Homepage: http://www.entypo.com
|
||||
|
||||
|
||||
@@ -1,26 +1,26 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Copyright (C) 2016 by original authors @ fontello.com</metadata>
|
||||
<metadata>Copyright (C) 2018 by original authors @ fontello.com</metadata>
|
||||
<defs>
|
||||
<font id="fontello" horiz-adv-x="1000" >
|
||||
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
||||
<missing-glyph horiz-adv-x="1000" />
|
||||
<glyph glyph-name="ok" unicode="" d="M932 534q0-22-15-38l-404-404-76-76q-16-15-38-15t-38 15l-76 76-202 202q-15 16-15 38t15 38l76 76q16 16 38 16t38-16l164-165 366 367q16 16 38 16t38-16l76-76q15-16 15-38z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="ok" unicode="" d="M933 534q0-22-16-38l-404-404-76-76q-16-15-38-15t-38 15l-76 76-202 202q-15 16-15 38t15 38l76 76q16 16 38 16t38-16l164-165 366 367q16 16 38 16t38-16l76-76q16-15 16-38z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="eye" unicode="" d="M929 314q-85 132-213 197 34-58 34-125 0-104-73-177t-177-73-177 73-73 177q0 67 34 125-128-65-213-197 75-114 187-182t242-68 242 68 187 182z m-402 215q0 11-8 19t-19 7q-70 0-120-50t-50-119q0-11 8-19t19-8 19 8 8 19q0 48 34 82t82 34q11 0 19 8t8 19z m473-215q0-19-11-38-78-129-210-206t-279-77-279 77-210 206q-11 19-11 38t11 39q78 128 210 205t279 78 279-78 210-205q11-20 11-39z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="eye" unicode="" d="M929 314q-85 132-213 197 34-58 34-125 0-103-73-177t-177-73-177 73-73 177q0 67 34 125-128-65-213-197 75-114 187-182t242-68 243 68 186 182z m-402 215q0 11-8 19t-19 7q-70 0-120-50t-50-119q0-11 8-19t19-8 19 8 8 19q0 48 34 82t82 34q11 0 19 8t8 19z m473-215q0-19-11-38-78-129-210-206t-279-77-279 77-210 206q-11 19-11 38t11 39q78 128 210 205t279 78 279-78 210-205q11-20 11-39z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="download" unicode="" d="M714 100q0 15-10 25t-25 11-26-11-10-25 10-25 26-11 25 11 10 25z m143 0q0 15-10 25t-26 11-25-11-10-25 10-25 25-11 26 11 10 25z m72 125v-179q0-22-16-37t-38-16h-821q-23 0-38 16t-16 37v179q0 22 16 38t38 16h259l75-76q33-32 76-32t76 32l76 76h259q22 0 38-16t16-38z m-182 318q10-23-8-40l-250-250q-10-10-25-10t-25 10l-250 250q-17 17-8 40 10 21 33 21h143v250q0 15 11 25t25 11h143q14 0 25-11t10-25v-250h143q24 0 33-21z" horiz-adv-x="928.6" />
|
||||
<glyph glyph-name="download" unicode="" d="M714 100q0 15-10 25t-25 11-25-11-11-25 11-25 25-11 25 11 10 25z m143 0q0 15-10 25t-26 11-25-11-10-25 10-25 25-11 26 11 10 25z m72 125v-179q0-22-16-37t-38-16h-821q-23 0-38 16t-16 37v179q0 22 16 38t38 16h259l75-76q33-32 76-32t76 32l76 76h259q22 0 38-16t16-38z m-182 318q10-23-8-39l-250-250q-10-11-25-11t-25 11l-250 250q-17 16-8 39 10 21 33 21h143v250q0 15 11 25t25 11h143q14 0 25-11t10-25v-250h143q24 0 33-21z" horiz-adv-x="928.6" />
|
||||
|
||||
<glyph glyph-name="share" unicode="" d="M679 279q74 0 126-53t52-126-52-126-126-53-127 53-52 126q0 7 1 19l-201 100q-51-48-121-48-75 0-127 53t-52 126 52 126 127 53q70 0 121-48l201 100q-1 12-1 19 0 74 52 126t127 53 126-53 52-126-52-126-126-53q-71 0-122 48l-201-100q1-12 1-19t-1-19l201-100q51 48 122 48z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="trash" unicode="" d="M286 439v-321q0-8-5-13t-13-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q8 0 13-5t5-13z m143 0v-321q0-8-5-13t-13-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q8 0 13-5t5-13z m142 0v-321q0-8-5-13t-12-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q7 0 12-5t5-13z m72-404v529h-500v-529q0-12 4-22t8-15 6-5h464q2 0 6 5t8 15 4 22z m-375 601h250l-27 65q-4 5-9 6h-177q-6-1-10-6z m518-18v-36q0-8-5-13t-13-5h-54v-529q0-46-26-80t-63-34h-464q-37 0-63 33t-27 79v531h-53q-8 0-13 5t-5 13v36q0 8 5 13t13 5h172l39 93q9 21 31 35t44 15h178q22 0 44-15t30-35l39-93h173q8 0 13-5t5-13z" horiz-adv-x="785.7" />
|
||||
<glyph glyph-name="trash" unicode="" d="M286 439v-321q0-8-5-13t-13-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q8 0 13-5t5-13z m143 0v-321q0-8-5-13t-13-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q8 0 13-5t5-13z m142 0v-321q0-8-5-13t-12-5h-36q-8 0-13 5t-5 13v321q0 8 5 13t13 5h36q7 0 12-5t5-13z m72-404v529h-500v-529q0-12 4-22t8-15 6-5h464q2 0 6 5t8 15 4 22z m-375 601h250l-27 65q-4 5-9 6h-177q-6-1-10-6z m518-18v-36q0-8-5-13t-13-5h-54v-529q0-46-26-80t-63-34h-464q-37 0-63 33t-27 79v531h-53q-8 0-13 5t-5 13v36q0 8 5 13t13 5h172l39 93q9 21 31 35t44 15h178q23 0 44-15t30-35l39-93h173q8 0 13-5t5-13z" horiz-adv-x="785.7" />
|
||||
|
||||
<glyph glyph-name="bitcoin" unicode="" d="M651 493q10-102-73-144 65-16 98-58t25-119q-4-40-18-70t-36-49-54-33-68-19-81-9v-142h-86v140q-45 0-68 1v-141h-86v142q-10 0-30 1t-31 0h-112l18 102h62q27 0 32 28v225h9q-4 0-9 0v160q-7 38-50 38h-62v92l119-1q35 0 54 1v141h86v-138q45 1 68 1v137h86v-141q44-4 78-13t63-25 46-43 20-64z m-120-304q0 20-8 35t-21 26-32 17-36 10-42 5-38 2-36 0-27-1v-189q5 0 21 0t27 0 29 1 33 2 32 5 31 8 26 11 22 17 14 22 5 29z m-39 265q0 19-7 33t-17 23-27 16-31 9-34 5-33 1-30 0-22-1v-171q3 0 20 0t26 0 27 1 31 3 29 6 27 10 21 15 15 22 5 28z" horiz-adv-x="714.3" />
|
||||
<glyph glyph-name="bitcoin" unicode="" d="M651 493q10-102-73-144 65-16 98-58t25-119q-4-40-18-70t-36-49-54-33-68-19-81-9v-142h-86v140q-45 0-68 1v-141h-86v142q-10 0-30 1t-31 0h-112l18 102h62q27 0 32 28v225h9q-4 0-9 0v161q-7 37-50 37h-62v92l119-1q35 0 54 1v141h86v-138q45 1 68 1v137h86v-141q44-4 78-13t63-25 46-43 20-64z m-120-304q0 20-8 35t-21 26-32 17-36 11-42 5-38 1-36 0-27-1v-189q5 0 21 0t27 0 29 1 33 2 32 5 31 8 26 11 22 17 14 22 5 29z m-39 265q0 19-7 33t-17 23-27 16-31 9-34 5-32 1-31 0-22-1v-171q3 0 20 0t26 0 27 1 31 3 29 6 27 10 21 15 15 22 5 28z" horiz-adv-x="714.3" />
|
||||
|
||||
<glyph glyph-name="git" unicode="" d="M332 5q0 56-92 56-88 0-88-58 0-57 96-57 84 0 84 59z m-33 421q0 35-17 57t-49 23q-69 0-69-81 0-75 69-75 66 0 66 76z m150 181v-112q-20-7-44-13 9-24 9-47 0-70-41-120t-110-63q-22-5-33-15t-11-33q0-17 13-28t32-18 44-12 48-15 44-21 32-35 13-55q0-170-203-170-38 0-72 7t-65 23-49 46-18 71q0 92 102 125v3q-38 22-38 70 0 61 35 76v3q-40 13-66 60t-27 92q0 78 53 130t131 51q54 0 100-26 54 0 121 26z m178-491h-124q2 25 2 74v340q0 53-2 72h124q-3-19-3-70v-342q0-49 3-74z m335 124v-110q-40-22-97-22-35 0-60 12t-39 27-22 44-10 51-2 58v196h1v2q-4 0-11 0t-10 1q-12 0-33-3v106h54v42q0 30-4 50h127q-3-23-3-92h95v-106q-8 0-24 1t-24 1h-47v-204q0-73 48-73 34 0 61 19z m-321 528q0-32-22-57t-54-24q-32 0-54 24t-23 57q0 33 22 57t55 25q33 0 54-25t22-57z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="git" unicode="" d="M332 5q0 56-92 56-88 0-88-58 0-57 96-57 84 0 84 59z m-33 422q0 34-17 56t-49 23q-69 0-69-81 0-75 69-75 66 0 66 77z m150 180v-112q-20-7-44-13 9-24 9-47 0-70-41-120t-110-63q-22-5-33-15t-11-33q0-17 13-28t32-18 44-12 48-15 44-21 32-35 13-55q0-170-203-170-38 0-72 7t-65 23-49 46-18 71q0 92 102 125v3q-38 22-38 70 0 61 35 76v3q-40 13-66 60t-27 93q0 77 53 129t131 51q54 0 100-26 54 0 121 26z m178-491h-124q2 25 2 74v340q0 53-2 72h124q-3-19-3-69v-343q0-49 3-74z m335 124v-110q-40-22-97-22-35 0-60 12t-39 27-22 44-10 51-2 58v196h1v2q-4 0-11 0t-10 1q-12 0-33-3v106h54v42q0 30-4 50h127q-3-23-3-92h95v-106q-8 0-24 1t-24 1h-47v-204q0-73 48-73 34 0 61 19z m-321 528q0-32-22-57t-54-24q-32 0-54 24t-23 57q0 33 22 57t55 25q33 0 54-25t22-57z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="twitter" unicode="" d="M904 622q-37-54-90-93 0-8 0-23 0-73-21-145t-64-139-103-117-144-82-181-30q-151 0-276 81 19-2 43-2 126 0 224 77-59 1-105 36t-64 89q19-3 34-3 24 0 48 6-63 13-104 62t-41 115v2q38-21 82-23-37 25-59 64t-22 86q0 49 25 91 68-83 164-133t208-55q-5 21-5 41 0 75 53 127t127 53q79 0 132-57 61 12 114 44-20-64-79-100 52 6 104 28z" horiz-adv-x="928.6" />
|
||||
<glyph glyph-name="twitter" unicode="" d="M904 622q-37-54-90-93 0-8 0-23 0-73-21-145t-64-139-103-117-144-82-181-30q-151 0-276 81 19-2 43-2 126 0 224 77-59 1-105 36t-64 89q19-3 34-3 24 0 48 6-63 13-104 62t-41 115v2q38-21 82-23-37 25-59 64t-22 86q0 49 25 91 68-83 164-133t208-55q-5 21-5 41 0 75 53 127t127 53q79 0 132-57 61 12 115 44-21-64-80-100 52 6 104 28z" horiz-adv-x="928.6" />
|
||||
|
||||
<glyph glyph-name="clipboard" unicode="" d="M678 819q65 0 110-46t46-110l0-625q0-65-46-111t-110-46l-522 0q-65 0-110 46t-46 111l0 625q0 65 46 110t110 46l522 0z m-418-104l0-52q0-21 16-37t37-16l208 0q22 0 37 16t15 37l0 52-313 0z m469-677l0 625q0 21-15 37t-36 15l-53 0 0-52q0-43-30-73t-74-31l-208 0q-43 0-74 31t-30 73l0 52-53 0q-21 0-37-15t-15-37l0-625q0-21 15-37t37-16l522 0q21 0 36 16t15 37z m-104 52l-416 0q-26 0-26 25 0 12 7 19t19 8l416 0q11 0 19-8t7-19q0-25-26-25z m0 157l-416 0q-11 0-19 7t-7 19q0 25 26 25l416 0q26 0 26-25 0-11-7-19t-19-7z m0 156l-416 0q-26 0-26 25 0 11 7 19t19 7l416 0q11 0 19-7t7-19q0-25-26-25z" horiz-adv-x="834" />
|
||||
|
||||
@@ -32,7 +32,9 @@
|
||||
|
||||
<glyph glyph-name="picture" unicode="" d="M1360 849v-1000h-1360v1000h1360z m-1240-880h1120v760h-1120v-760z m1000 560q0-33-23-56t-57-24-56 24-24 56 24 57 56 23 57-23 23-57z m43-473q2-1 1-4t-4-3h-956q-4 0-4 4v2q18 36 135 280t144 299q1 2 4 3t3-2l311-386 152 122h7l1-2q39-50 102-155t104-158z" horiz-adv-x="1360" />
|
||||
|
||||
<glyph glyph-name="file-archive" unicode="" d="M357 636v71h-71v-71h71z m72-72v72h-72v-72h72z m-72-71v71h-71v-71h71z m72-72v72h-72v-72h72z m390 217q16-16 27-42t11-50v-642q0-23-15-38t-38-16h-750q-23 0-38 16t-16 38v892q0 23 16 38t38 16h500q22 0 49-11t42-27z m-248 136v-210h210q-5 16-12 23l-175 175q-6 7-23 12z m215-853v572h-232q-23 0-38 15t-16 38v233h-71v-72h-72v72h-286v-858h715z m-350 403l60-195q4-15 4-29 0-46-40-77t-103-30-102 30-41 77q0 14 5 29 12 35 67 221v71h71v-71h44q13 0 22-7t13-19z m-79-260q30 0 51 11t21 25-21 25-51 11-50-11-21-25 21-25 50-11z" horiz-adv-x="857.1" />
|
||||
<glyph glyph-name="file-archive" unicode="" d="M357 636v71h-71v-71h71z m72-72v72h-72v-72h72z m-72-71v71h-71v-71h71z m72-72v72h-72v-72h72z m390 217q16-16 27-42t11-50v-642q0-23-15-38t-38-16h-750q-23 0-38 16t-16 38v892q0 23 16 38t38 16h500q22 0 49-11t42-27z m-248 136v-210h210q-5 17-12 23l-175 175q-6 7-23 12z m215-853v572h-232q-23 0-38 16t-16 37v233h-71v-72h-72v72h-286v-858h715z m-350 403l60-195q4-15 4-29 0-46-40-77t-103-30-102 30-41 77q0 14 5 29 12 35 67 221v71h71v-71h44q13 0 22-7t13-19z m-79-260q30 0 51 11t21 25-21 25-51 11-50-11-21-25 21-25 50-11z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="language" unicode="" d="M988 306q30-82-10-176t-134-160q-10 0-12 2t-16 19-16 19q-2 6 2 10 86 60 117 152t-11 148q-16-38-39-76t-59-80-86-65-106-15q-52 6-84 41t-32 93q0 84 60 148 50 50 114 66l-2 100q-140-24-146-24-6-2-10 4 0 2-5 29t-5 31q-2 2 1 4t7 2l156 28q0 110-2 114 0 8 8 8 46 0 52 2 10 0 10-8l0-104q158 22 164 22 8 4 10-6 0-2 4-23t4-25q4-10-4-12l-176-30 0-102 12 0q86 0 148-36t86-100z m-370-160q28-6 62 6l-4 214q-34-12-60-40-44-44-44-108 0-66 46-72z m122 28q28 24 58 68t45 79 7 41q-36 18-96 18-2 0-6-1t-6-1z m-448 382q10-28 53-165t83-261 40-126q0-4-4-4l-86 0q-6 0-6 4l-50 166-176 0q-48-164-50-166 0-4-6-4l-86 0q-4 0-4 4 10 18 176 552 2 8 10 8l96 0q10 0 10-8z m-130-316l144 0-72 264z" horiz-adv-x="1001" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 7.2 KiB |
BIN
themes/default/public/font/fontello.woff
Normal file
BIN
themes/default/public/font/fontello.woff2
Normal file
BIN
themes/default/public/font/hennypenny.woff2
Normal file
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
@@ -95,7 +95,7 @@
|
||||
height:35px;
|
||||
width:32px;
|
||||
height:32px;
|
||||
background-image:url('../images/loader_skype_trans.gif');
|
||||
background-image:url('../../gallery/images/loader_skype_trans.gif');
|
||||
background-repeat:no-repeat;
|
||||
}
|
||||
|
||||
@@ -151,78 +151,78 @@
|
||||
.ug-slider-preloader.ug-loader1{
|
||||
width:30px;
|
||||
height:30px;
|
||||
background-image:url('../images/loader-white1.gif');
|
||||
background-image:url('../../gallery/images/loader-white1.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader1.ug-loader-black{
|
||||
background-image:url('../images/loader-black1.gif');
|
||||
background-image:url('../../gallery/images/loader-black1.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader2{
|
||||
width:32px;
|
||||
height:32px;
|
||||
background-image:url('../images/loader-white2.gif');
|
||||
background-image:url('../../gallery/images/loader-white2.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader2.ug-loader-black{
|
||||
background-image:url('../images/loader-black2.gif');
|
||||
background-image:url('../../gallery/images/loader-black2.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader3{
|
||||
width:38px;
|
||||
height:38px;
|
||||
background-image:url('../images/loader-white3.gif');
|
||||
background-image:url('../../gallery/images/loader-white3.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader3.ug-loader-black{
|
||||
background-image:url('../images/loader-black3.gif');
|
||||
background-image:url('../../gallery/images/loader-black3.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader4{
|
||||
width:32px;
|
||||
height:32px;
|
||||
background-image:url('../images/loader-white4.gif');
|
||||
background-image:url('../../gallery/images/loader-white4.gif');
|
||||
background-color:white;
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader4.ug-loader-black{
|
||||
background-image:url('../images/loader-black4.gif');
|
||||
background-image:url('../../gallery/images/loader-black4.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader5{
|
||||
width:60px;
|
||||
height:8px;
|
||||
background-image:url('../images/loader-white5.gif');
|
||||
background-image:url('../../gallery/images/loader-white5.gif');
|
||||
background-color:white;
|
||||
border:none;
|
||||
border-radius:0px;
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader5.ug-loader-black{
|
||||
background-image:url('../images/loader-black5.gif');
|
||||
background-image:url('../../gallery/images/loader-black5.gif');
|
||||
border:2px solid #000000;
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader6{
|
||||
width:32px;
|
||||
height:32px;
|
||||
background-image:url('../images/loader-white6.gif');
|
||||
background-image:url('../../gallery/images/loader-white6.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader6.ug-loader-black{
|
||||
background-image:url('../images/loader-black6.gif');
|
||||
background-image:url('../../gallery/images/loader-black6.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader7{
|
||||
width:32px;
|
||||
height:10px;
|
||||
background-image:url('../images/loader-white7.gif');
|
||||
background-image:url('../../gallery/images/loader-white7.gif');
|
||||
border-width:3px;
|
||||
border-radius:3px;
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader7.ug-loader-black{
|
||||
background-image:url('../images/loader-black7.gif');
|
||||
background-image:url('../../gallery/images/loader-black7.gif');
|
||||
}
|
||||
|
||||
.ug-slider-preloader.ug-loader-black{
|
||||
@@ -243,7 +243,7 @@
|
||||
.ug-slider-wrapper .ug-button-videoplay.ug-type-square{
|
||||
width:86px;
|
||||
height:66px;
|
||||
background-image:url('../images/play-button-square.png');
|
||||
background-image:url('../../gallery/images/play-button-square.png');
|
||||
background-position:0px -66px;
|
||||
}
|
||||
|
||||
@@ -255,7 +255,7 @@
|
||||
.ug-slider-wrapper .ug-button-videoplay.ug-type-round{
|
||||
width:76px;
|
||||
height:76px;
|
||||
background-image:url('../images/play-button-round.png');
|
||||
background-image:url('../../gallery/images/play-button-round.png');
|
||||
opacity:0.9;
|
||||
filter: alpha(opacity = 90);
|
||||
transition: all 0.3s ease 0s !important;
|
||||
@@ -275,7 +275,7 @@
|
||||
position:absolute;
|
||||
z-index:100;
|
||||
background-color:#000000;
|
||||
background-image:url('../images/loader-black1.gif');
|
||||
background-image:url('../../gallery/images/loader-black1.gif');
|
||||
background-repeat:no-repeat;
|
||||
background-position:center center;
|
||||
box-sizing:border-box;
|
||||
@@ -286,7 +286,7 @@
|
||||
width:100%;
|
||||
height:100%;
|
||||
background-color:#000000;
|
||||
background-image:url('../images/loader-black1.gif');
|
||||
background-image:url('../../gallery/images/loader-black1.gif');
|
||||
background-repeat:no-repeat;
|
||||
background-position:center center;
|
||||
}
|
||||
@@ -296,7 +296,7 @@
|
||||
position:absolute;
|
||||
height:64px;
|
||||
width:64px;
|
||||
background-image:url('../images/button-close.png');
|
||||
background-image:url('../../gallery/images/button-close.png');
|
||||
cursor:pointer;
|
||||
z-index:1000;
|
||||
}
|
||||
@@ -372,15 +372,15 @@
|
||||
}
|
||||
|
||||
.ug-thumb-wrapper.ug-thumb-generated .ug-thumb-loader-dark{
|
||||
background-image:url('../images/loader.gif');
|
||||
background-image:url('../../gallery/images/loader.gif');
|
||||
}
|
||||
|
||||
.ug-thumb-wrapper.ug-thumb-generated .ug-thumb-loader-bright{
|
||||
background-image:url('../images/loader_bright.gif');
|
||||
background-image:url('../../gallery/images/loader_bright.gif');
|
||||
}
|
||||
|
||||
.ug-thumb-wrapper.ug-thumb-generated .ug-thumb-error{
|
||||
background-image:url('../images/not_loaded.png');
|
||||
background-image:url('../../gallery/images/not_loaded.png');
|
||||
}
|
||||
|
||||
.ug-thumb-wrapper.ug-thumb-generated img{
|
||||
@@ -572,7 +572,7 @@ img.ug-sepia-effect{
|
||||
background-color:#000000;
|
||||
opacity: 0.3;
|
||||
filter: alpha(opacity=30);
|
||||
background-image:url('../images/cover-grid.png');
|
||||
background-image:url('../../gallery/images/cover-grid.png');
|
||||
}
|
||||
|
||||
|
||||
@@ -695,15 +695,15 @@ img.ug-sepia-effect{
|
||||
}
|
||||
|
||||
.ug-thumb-wrapper.ug-tile .ug-tile-icon.ug-icon-link{
|
||||
background-image:url('../images/icon-link32.png');
|
||||
background-image:url('../../gallery/images/icon-link32.png');
|
||||
}
|
||||
|
||||
.ug-thumb-wrapper.ug-tile .ug-tile-icon.ug-icon-zoom{
|
||||
background-image:url('../images/icon-zoom32.png');
|
||||
background-image:url('../../gallery/images/icon-zoom32.png');
|
||||
}
|
||||
|
||||
.ug-thumb-wrapper.ug-tile .ug-tile-icon.ug-icon-play{
|
||||
background-image:url('../images/icon-play32.png');
|
||||
background-image:url('../../gallery/images/icon-play32.png');
|
||||
}
|
||||
|
||||
.ug-thumb-wrapper.ug-tile .ug-tile-icon:hover{
|
||||
@@ -805,14 +805,14 @@ img.ug-sepia-effect{
|
||||
width:50px;
|
||||
height:55px;
|
||||
background-repeat:no-repeat;
|
||||
background-image:url('../images/lightbox-arrow-left.png');
|
||||
background-image:url('../../gallery/images/lightbox-arrow-left.png');
|
||||
background-position:0px 0px;
|
||||
z-index:3;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
.ug-lightbox .ug-lightbox-arrow-right{
|
||||
background-image:url('../images/lightbox-arrow-right.png');
|
||||
background-image:url('../../gallery/images/lightbox-arrow-right.png');
|
||||
}
|
||||
|
||||
.ug-lightbox .ug-lightbox-button-close{
|
||||
@@ -820,7 +820,7 @@ img.ug-sepia-effect{
|
||||
width:36px;
|
||||
height:36px;
|
||||
background-repeat:no-repeat;
|
||||
background-image:url('../images/lightbox-icon-close.png');
|
||||
background-image:url('../../gallery/images/lightbox-icon-close.png');
|
||||
background-position:0px 0px;
|
||||
z-index:4;
|
||||
cursor:pointer;
|
||||
@@ -830,7 +830,7 @@ img.ug-sepia-effect{
|
||||
.ug-lightbox-compact .ug-lightbox-button-close{
|
||||
width:45px;
|
||||
height:41px;
|
||||
background-image:url('../images/lightbox-icon-close-compact2.png');
|
||||
background-image:url('../../gallery/images/lightbox-icon-close-compact2.png');
|
||||
}
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
|
Before Width: | Height: | Size: 933 B After Width: | Height: | Size: 933 B |
|
Before Width: | Height: | Size: 909 B After Width: | Height: | Size: 909 B |
|
Before Width: | Height: | Size: 688 B After Width: | Height: | Size: 688 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |