Browse Source

texts: Add English versions

Jakub Valenta 3 years ago
parent
commit
51bfac97af
20 changed files with 169 additions and 20 deletions
  1. 10 9
      art_strategies.py
  2. 7 7
      data.yml
  3. 8 4
      jekyll/css/main.scss
  4. 0 0
      texts/cs/01.yml
  5. 0 0
      texts/cs/02.yml
  6. 0 0
      texts/cs/03.yml
  7. 0 0
      texts/cs/04.yml
  8. 0 0
      texts/cs/05.yml
  9. 0 0
      texts/cs/06.yml
  10. 0 0
      texts/cs/07.yml
  11. 0 0
      texts/cs/08.yml
  12. 0 0
      texts/cs/09.yml
  13. 27 0
      texts/en/01.yml
  14. 25 0
      texts/en/02.yml
  15. 10 0
      texts/en/03.yml
  16. 47 0
      texts/en/04.yml
  17. 16 0
      texts/en/06.yml
  18. 7 0
      texts/en/07.yml
  19. 8 0
      texts/en/08.yml
  20. 4 0
      texts/en/09.yml

+ 10 - 9
art_strategies.py

@@ -24,15 +24,6 @@ def main():
     DIR_POSTS = '_posts'
     TEXTS_EXT = '.yml'
 
-    files = []
-    for entry in sorted(scandir(PATH_TEXTS), key=lambda x: x.name):
-        if not entry.name.startswith('.') and entry.is_file()\
-           and entry.name.endswith(TEXTS_EXT):
-            files.append((
-                entry.path,
-                entry.name
-            ))
-
     configs = art_lib.jekyll_get_configs(
         PATH_DATA,
         os.path.join(PATH_SRC, FILE_CONFIG_DEFAULTS)
@@ -47,12 +38,22 @@ def main():
         path_config = os.path.join(path_dir, FILE_CONFIG)
         path_template = os.path.join(PATH_SRC, FILE_TEMPLATE)
         path_posts = os.path.join(path_dir, DIR_POSTS)
+        path_texts = os.path.join(PATH_TEXTS, lang)
 
         art_lib.mkdir_and_write(
             path_config,
             yaml.dump(config, default_flow_style=False)
         )
 
+        files = []
+        for entry in sorted(scandir(path_texts), key=lambda x: x.name):
+            if not entry.name.startswith('.') and entry.is_file()\
+               and entry.name.endswith(TEXTS_EXT):
+                files.append((
+                    entry.path,
+                    entry.name
+                ))
+
         for file in files:
             with open(file[0], 'r') as f:
                 post_data = yaml.load(f.read())

+ 7 - 7
data.yml

@@ -1,6 +1,6 @@
 locale:
-  cs: 'cs_CZ.utf8'
-  en: 'en_US.utf8'
+  cs: "cs_CZ.utf8"
+  en: "en_US.utf8"
 dateFormat:
   cs: "%d. %m. %Y"
   en: "%Y/%m/%d"
@@ -8,14 +8,14 @@ baseurl:
   cs: "/strategie"
   en: "/strategies"
 name:
-  cs: "Strategie pro nezačlenění. K~vašemu svobodnému užití."
-  en: "Strategie pro nezačlenění. K~vašemu svobodnému užití."
+  cs: Strategie pro nezačlenění. K~vašemu svobodnému užití.
+  en: Strategies to not be included. Free to use.
 author: Jakub Valenta
 dateCreated: 2015
-dateCreatedFormatted: '2015'
+dateCreatedFormatted: "2015"
 artMedium:
   cs: text
   en: text
 description:
-  cs: ''
-  en: ''
+  cs: Diplomová práce, Akademie výtvarných umění v Praze
+  en: Diploma work, Academy of Fine Arts in Prague

+ 8 - 4
jekyll/css/main.scss

@@ -93,14 +93,18 @@ main {
         padding-bottom: 0.7em;
     }
 }
-.scriptsize p {
-    font-size: 8/$base_font_size*100%;
+.small p {
+    font-size: 9/10*100%;
     padding-bottom: 0.5em;
 }
+.scriptsize p {
+    font-size: 8/10*100%;
+    padding-bottom: 0.3em;
+}
 .tiny p {
-    font-size: 6/$base_font_size*100%;
+    font-size: 5/10*100%;
     line-height: 1.1;
-    padding-bottom: 0.1em;
+    padding-bottom: 0.2em;
 }
 .tiny div {
     column-count: 2;

texts/01.yml → texts/cs/01.yml


texts/02.yml → texts/cs/02.yml


texts/03.yml → texts/cs/03.yml


texts/04.yml → texts/cs/04.yml


texts/05.yml → texts/cs/05.yml


texts/06.yml → texts/cs/06.yml


texts/07.yml → texts/cs/07.yml


texts/08.yml → texts/cs/08.yml


texts/09.yml → texts/cs/09.yml


+ 27 - 0
texts/en/01.yml

@@ -0,0 +1,27 @@
+title: "Strategy: To do a~work of unclear extent"
+heading: |
+  I~influence others.\\
+  The impact remains unknown.\\
+  I~call it the only important thing.
+text: |
+  I~was convincing J.~that the video depicts central Bohemia.
+
+  I~am doing everything to make her like me.
+
+  I~wanted him to understand that a~military operation against\\
+  the smugglers of migrants is not a~good strategy.
+
+  I~tried to inspire V.~to establish a~workshop in his tool rental centre.
+
+  I~called my schoolmates' attention to the fact that the artwork was derivative.
+
+  I~defended nonuniform headings of these posters.
+
+  I~offered A. my webcam. I~want him to use it.
+
+  I~advised the curator of the exhibition how to install my work.
+
+  I~showed V. how to play the video from his computer.
+
+  I~didn't want to invite the professor to our happening.
+date: "2015-06-02"

+ 25 - 0
texts/en/02.yml

@@ -0,0 +1,25 @@
+title: "Strategy: To erase yourself"
+heading: |
+  I~asked my friends if they would be able to erase\\
+  all photographs on which I~am.
+text: |
+  Sure. Should I~do that right now?
+
+  Yes, but I~don't know where all the photos are.
+
+  Yes, if you do the same with mine.
+
+  I~guess only those on which there is only you.
+
+  Yes, but not those that I~really like.
+
+  I~suppose, but I~don't have time for that.
+
+  I~would only blacken you out.
+
+  There would have to be some tool that would be able to find and destroy all of them.
+
+  No.
+
+  I~don't think I~have any.
+date: "2015-06-02"

+ 10 - 0
texts/en/03.yml

@@ -0,0 +1,10 @@
+title: "Strategy: To be unsellable"
+heading: |
+  You are allowed to steal this work.
+text: |
+  The poster is fixed with small nails in the corners. It~can be easily\\
+  rolled after you pull them out.
+
+  I~have instructed the employees of the gallery not to prevent you\\
+  from doing that.
+date: "2015-06-02"

+ 47 - 0
texts/en/04.yml

@@ -0,0 +1,47 @@
+title: "Strategy: To discredit yourself"
+heading: |
+  I~collected everything discrediting\\
+  that others remember I~have ever done.\\
+  Now only what is missing here is discrediting.
+text: |
+  My handwriting is horrible.
+
+  I~am neck holding my classmate.
+
+  I~am trying to reach 10 crowns stuck in a~lamp.
+
+  Speaking to a~teacher: Shit is happening here!
+
+  I~am writing a~dumb short story ``Littleheavenville, Littlehellville''.
+
+  I~am mocking the victims of 9/11.
+
+  I~am showing my penis.
+
+  I~am writing a~filthy text message to a~classmate. It made her feel very unhappy.
+
+  I~am putting marihuana in teacher's pipe.
+
+  I~am making racist jokes.
+
+  I~am vomiting.
+
+  I~love a~classmate.
+
+  I~am flunking math.
+
+  I~am doing something strange out of love on Jiřího z~Poděbrad.
+
+  I~am lying down on a~visitor sleeping on our couch.
+
+  I~am snorting drugs.
+
+  MDMA has no effects on me any more. I~want 2CB.
+
+  I~consider art that doesn't fit on a~USB stick to be suspicious.
+
+  I~am throwing papers furiously in Auschwitz.
+
+  I~have a disgusting moustache.
+date: "2015-06-02"
+fontsize: "scriptsize"

+ 16 - 0
texts/en/06.yml

@@ -0,0 +1,16 @@
+title: "Strategy: To do the same again"
+heading: |
+  I~want to repeat the same discussions.
+text: |
+  I've moved to a~new house
+
+  where there is like in my previous house
+
+  a~sign saying ``lock the door''.
+
+  I~hadn't been locking the door before
+
+  which forced us all to look for a~consensus.
+
+  Now I'm again not locking the door.
+date: "2015-06-02"

+ 7 - 0
texts/en/07.yml

@@ -0,0 +1,7 @@
+title: "Strategy: To not disrupt reality"
+heading: |
+  Everything I~ever did\\
+  became part of reality.
+text: |
+  Now when I~introduce myself I lie.
+date: "2015-06-02"

File diff suppressed because it is too large
+ 8 - 0
texts/en/08.yml


+ 4 - 0
texts/en/09.yml

@@ -0,0 +1,4 @@
+title: "Strategy: To express yourself with only what was unintended"
+heading: ""
+text: ""
+date: "2015-06-02"