delete unnecessary files and folders

lektura
max.mehl 2018-06-11 09:00:43 +02:00
parent 316b90cbf7
commit c4a1ee409b
No known key found for this signature in database
GPG Key ID: 2704E4AB371E2E92
2 changed files with 0 additions and 159 deletions

View File

@ -1,33 +0,0 @@
#!/bin/bash
# strings to ignore
ignore=("languageCode" "languageName" "arguments_list" "arguments_list_icon")
while read line; do
# start of a new section?
if echo "${line}" | grep -Eq "^[\s]*\[.+?\]"; then
section=`echo "${line}" | grep -Eo "\[.+?\]" | sed -E "s|\[\|\]||g"`
section=`echo $section | sed -E -e "s|Languages\...\.||" -e "s|\.|_|g"`
if [[ "$newline" -eq "y" ]]; then
newline=n
else
echo
fi
elif echo "${line}" | grep -Eiq "^[\s]*[[:alnum:]]+?\s*="; then
key=`echo "${line}" | grep -Eio "^[\s]*[[:alnum:]]+?\s*=" | sed -E -e "s|\s||g" -e "s|=||"`
key=`echo "${section}_${key}" | sed -E "s|^Languages_.._||"`
value=`echo "${line}" | sed -E "s|.*=\s*?(\".*\")|\1|"`
if [[ ! " ${ignore[@]} " =~ " ${key} " ]]; then # if key contains string
echo "[$key]"
echo "other= $value"
fi
elif echo "${line}" | grep -Eq "^\s*#"; then
echo
echo "$line"
newline=y
fi
done < "$1"

View File

@ -1,126 +0,0 @@
# == YOUR LANGUAGE ==
# General strings
[Languages.XY]
languageCode = "xy" # 2-letter code of language (ISO 639-1)
languageName = "English" # verbose name of language (e.g. "Français" or "Русский")
description = "Public Money, Public Code - A campaign for releasing publicly financed software as Free Software"
fsdefinition = "Free Software gives everybody the right to use, study, share and improve software. This right helps support other fundamental freedoms like freedom of speech, press and privacy."
# Navigation
[Languages.en.navigation]
[Languages.en.navigation.links]
start = "Start"
about = "About"
arguments = "Reasons"
action = "Take Action"
spread = "Spread the Word"
# Start banner
[Languages.en.start]
subtitle1 = "Why is software created using taxpayers' money not released as Free Software?"
subtitle2 = "We want legislation requiring that publicly financed software developed for the public sector be made publicly available under a [Free and Open Source Software](https://fsfe.org/freesoftware/basics/summary.html 'Free Software gives everybody the right to use, study, share and improve software. This right helps support other fundamental freedoms like freedom of speech, press and privacy.') licence. If it is public money, it should be public code as well."
subtitle3 = "**Code paid by the people should be available to the people!**"
# About section
[Languages.en.about]
headline = "Sound complicated? It's not. It's super easy!"
buttonText = "More advantages"
# Arguments section
[Languages.en.arguments]
headline = "Reasons for Public Code"
followup = "Do you believe that Free Software should be the default option for publicly financed software? **Let's convince your political representatives!**"
buttonText = "Sign the Open Letter"
[[Languages.en.arguments.list]]
icon = "fa-eur" # <-- do not translate this
title = "Tax savings"
description = "Similar applications don't have to be programmed from scratch every time."
[[Languages.en.arguments.list]]
icon = "fa-handshake-o" # <-- do not translate this
title = "Collaboration"
description = "Efforts on major projects can share expertise and costs."
[[Languages.en.arguments.list]]
icon = "fa-users" # <-- do not translate this
title = "Serving the public"
description = "Applications paid by the public should be available for everyone."
[[Languages.en.arguments.list]]
icon = "fa-lightbulb-o" # <-- do not translate this
title = "Fostering innovation"
description = "With transparent processes, others don't have to reinvent the wheel."
# Action section
[Languages.en.action]
headline = "Tell Your Representatives!"
intro = "In our [**open letter**](openletter/) we demand:"
# In "demand", please use curly quotation marks for the demand. Otherwise the build might fail: https://en.wikipedia.org/wiki/Quotation_mark
demand = "“Implement legislation requiring that publicly financed software developed for the public sector be made publicly available under a [Free and Open Source Software](https://fsfe.org/freesoftware/basics/summary.html 'Free Software gives everybody the right to use, study, share and improve software. This right helps support other fundamental freedoms like freedom of speech, press and privacy.') licence.”"
description = "**$ORGS** organisations and **$INDS** individuals already support this call for action by signing our [open letter](openletter/). You can help us make a much bigger impact by signing it, too! We will hand over all signatures to representatives all over Europe that are debating software freedom in public administration."
[Languages.en.action.box]
text = "Already **$INDS SIGNATURES** sign the open letter now!"
[Languages.en.action.form]
name = "Name (required)"
email = "Email (required)"
country = "Your Country"
zip = "Zip Code"
comment = "Your comment (max. 140 characters)"
permPriv = "I have read and accepted the [privacy statement](privacy/)"
permNews = "I want to stay informed about the future of this campaign"
permPub = "I want my signature to appear in the [list of signatures](openletter/all-signatures)"
submit = "Sign Now!"
# Organisations section
[Languages.en.organisations]
headline = "Supporting Organisations"
text = "The following organisations support our [open letter](openletter/). If your organisation is also interested in joining the call for Public Code, please [contact us](mailto:contact@fsfe.org)."
# Spread the word section
[Languages.en.spread]
headline = "Spread the word!"
promoText = "Order the latest stickers and flyers from FSFE"
promoButtonText = "Get promo material"
shareText = "Tell your friends and followers about Public Code:"
defaultSocialText = "If it is public money, it should be public code as well. I support this call for more public code under a Free Software license:"
# Legal Section
[Languages.en.legal]
by = "This is a campaign by Free Software Foundation Europe"
imprint = "Imprint"
privacy = "Privacy"
transparency = "Transparency"
contribute1 = "The code of this website is Free Software."
contribute2 = "You're welcome to contribute!"
license = "This work is licensed under a [Creative Commons BY-SA 4.0 License](http://creativecommons.org/licenses/by-sa/4.0/)."
# Language selection
[Languages.en.language]
description = "Read this page in another language"
# 404 Error Page
[Languages.en.error]
headline = "Error 404 - Page not found"
description = "The page you're looking for does not exist."
button = "Back to start page"
# Specific sub-pages
[Languages.en.subpage]
[Languages.en.subpage.signatures]
headline = "Individual Open Letter Signatures"
description = "Below are the signatures of the signees who agreed to have their names made public. Be the next one!"
allSignatures = "See [all public signatures](all-signatures/)."
tableName = "Name"
tableCountry = "Country"
tableComment = "Comment"