more translations fixed
This commit is contained in:
		
							parent
							
								
									c886d5f28e
								
							
						
					
					
						commit
						d3eb37ebff
					
				
					 15 changed files with 170 additions and 155 deletions
				
			
		
							
								
								
									
										34
									
								
								.env
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										34
									
								
								.env
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,34 @@
 | 
				
			||||||
 | 
					# Flask-Configuration - Key are generated through setup.sh
 | 
				
			||||||
 | 
					SECRET_KEY=""
 | 
				
			||||||
 | 
					REDEEM_SECRET=""
 | 
				
			||||||
 | 
					WTF_CSRF_SECRET_KEY=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# locales
 | 
				
			||||||
 | 
					BABEL_DEFAULT_LOCALE="en"
 | 
				
			||||||
 | 
					BABEL_SUPPORTED_LOCALES="de,en"
 | 
				
			||||||
 | 
					BABEL_TRANSLATION_DIRECTORIES="translations"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Timezone
 | 
				
			||||||
 | 
					TZ=Europe/Berlin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Security
 | 
				
			||||||
 | 
					SESSION_COOKIE_SECURE="False"
 | 
				
			||||||
 | 
					CSRF_ENABLED="True"
 | 
				
			||||||
 | 
					# Account registration
 | 
				
			||||||
 | 
					REGISTRATION_ENABLED="True"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# checking interval if keys have to be redeemed before a specific date
 | 
				
			||||||
 | 
					CHECK_EXPIRING_KEYS_INTERVAL_HOURS=6
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Pushover
 | 
				
			||||||
 | 
					PUSHOVER_APP_TOKEN=""
 | 
				
			||||||
 | 
					PUSHOVER_USER_KEY=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Gotify
 | 
				
			||||||
 | 
					GOTIFY_URL=""
 | 
				
			||||||
 | 
					GOTIFY_TOKEN=""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Matrix
 | 
				
			||||||
 | 
					MATRIX_HOMESERVER=""
 | 
				
			||||||
 | 
					MATRIX_ACCESS_TOKEN=""
 | 
				
			||||||
 | 
					MATRIX_ROOM_ID=""
 | 
				
			||||||
							
								
								
									
										22
									
								
								setup.sh
									
										
									
									
									
								
							
							
						
						
									
										22
									
								
								setup.sh
									
										
									
									
									
								
							| 
						 | 
					@ -351,7 +351,7 @@ def login():
 | 
				
			||||||
@app.route('/register', methods=['GET', 'POST'])
 | 
					@app.route('/register', methods=['GET', 'POST'])
 | 
				
			||||||
def register():
 | 
					def register():
 | 
				
			||||||
    if not app.config['REGISTRATION_ENABLED']:
 | 
					    if not app.config['REGISTRATION_ENABLED']:
 | 
				
			||||||
        flash(_('Registrierungen sind deaktiviert'), 'danger')
 | 
					        flash(_('No new registrations. They are deactivated!'), 'danger')
 | 
				
			||||||
        return redirect(url_for('login'))
 | 
					        return redirect(url_for('login'))
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
    if request.method == 'POST':
 | 
					    if request.method == 'POST':
 | 
				
			||||||
| 
						 | 
					@ -385,16 +385,16 @@ def change_password():
 | 
				
			||||||
        confirm_password = request.form['confirm_password']
 | 
					        confirm_password = request.form['confirm_password']
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if not check_password_hash(current_user.password, current_password):
 | 
					        if not check_password_hash(current_user.password, current_password):
 | 
				
			||||||
            flash(_('Aktuelles Passwort ist falsch'), 'danger')
 | 
					            flash(_('Current passwort is wrong'), 'danger')
 | 
				
			||||||
            return redirect(url_for('change_password'))
 | 
					            return redirect(url_for('change_password'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if new_password != confirm_password:
 | 
					        if new_password != confirm_password:
 | 
				
			||||||
            flash(_('Neue Passwörter stimmen nicht überein'), 'danger')
 | 
					            flash(_('New Passwords are not matching'), 'danger')
 | 
				
			||||||
            return redirect(url_for('change_password'))
 | 
					            return redirect(url_for('change_password'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        current_user.password = generate_password_hash(new_password)
 | 
					        current_user.password = generate_password_hash(new_password)
 | 
				
			||||||
        db.session.commit()
 | 
					        db.session.commit()
 | 
				
			||||||
        flash(_('Passwort erfolgreich geändert'), 'success')
 | 
					        flash(_('Password changed successfully'), 'success')
 | 
				
			||||||
        return redirect(url_for('index'))
 | 
					        return redirect(url_for('index'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return render_template('change_password.html')
 | 
					    return render_template('change_password.html')
 | 
				
			||||||
| 
						 | 
					@ -652,15 +652,15 @@ def import_games():
 | 
				
			||||||
                    
 | 
					                    
 | 
				
			||||||
                    db.session.commit()
 | 
					                    db.session.commit()
 | 
				
			||||||
                
 | 
					                
 | 
				
			||||||
                flash(_('%(new)d neue Spiele importiert, %(dup)d Duplikate übersprungen', new=new_games, dup=duplicates), 'success')
 | 
					                flash(_('%(new)d new games imported, %(dup)d skipped duplicates', new=new_games, dup=duplicates), 'success')
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            except Exception as e:
 | 
					            except Exception as e:
 | 
				
			||||||
                db.session.rollback()
 | 
					                db.session.rollback()
 | 
				
			||||||
                flash(_('Importfehler: %(error)s', error=str(e)), 'danger')
 | 
					                flash(_('Import error: %(error)s', error=str(e)), 'danger')
 | 
				
			||||||
            
 | 
					            
 | 
				
			||||||
            return redirect(url_for('index'))
 | 
					            return redirect(url_for('index'))
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
        flash(_('Bitte eine gültige CSV-Datei hochladen.'), 'danger')
 | 
					        flash(_('Please upload a valid CSV file.'), 'danger')
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    return render_template('import.html')
 | 
					    return render_template('import.html')
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1015,7 +1015,7 @@ cat <<HTML_END > templates/base.html
 | 
				
			||||||
                </div>
 | 
					                </div>
 | 
				
			||||||
                {% if current_user.is_authenticated %}
 | 
					                {% if current_user.is_authenticated %}
 | 
				
			||||||
                        <li class="nav-item">
 | 
					                        <li class="nav-item">
 | 
				
			||||||
                             <a class="nav-link" href="{{ url_for('change_password') }}">🔒 {{ _('Passwort') }}</a>
 | 
					                             <a class="nav-link" href="{{ url_for('change_password') }}">🔒 {{ _('Password') }}</a>
 | 
				
			||||||
                        </li>
 | 
					                        </li>
 | 
				
			||||||
                        <li class="nav-item">
 | 
					                        <li class="nav-item">
 | 
				
			||||||
                             <a class="nav-link" href="{{ url_for('logout') }}">🚪 {{ _('Logout') }}</a>
 | 
					                             <a class="nav-link" href="{{ url_for('logout') }}">🚪 {{ _('Logout') }}</a>
 | 
				
			||||||
| 
						 | 
					@ -1384,11 +1384,11 @@ cat <<HTML_END > templates/import.html
 | 
				
			||||||
    <form method="POST" enctype="multipart/form-data">
 | 
					    <form method="POST" enctype="multipart/form-data">
 | 
				
			||||||
	<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
 | 
						<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
 | 
				
			||||||
        <div class="mb-3">
 | 
					        <div class="mb-3">
 | 
				
			||||||
            <label class="form-label">{{ _('CSV-Datei auswählen') }}</label>
 | 
					            <label class="form-label">{{ _('Select CSV file') }}</label>
 | 
				
			||||||
            <input type="file" name="file" class="form-control" accept=".csv" required>
 | 
					            <input type="file" name="file" class="form-control" accept=".csv" required>
 | 
				
			||||||
        </div>
 | 
					        </div>
 | 
				
			||||||
        <button type="submit" class="btn btn-success">{{ _('Importieren') }}</button>
 | 
					        <button type="submit" class="btn btn-success">{{ _('Import') }}</button>
 | 
				
			||||||
        <a href="{{ url_for('index') }}" class="btn btn-outline-secondary">{{ _('Abbrechen') }}</a>
 | 
					        <a href="{{ url_for('index') }}" class="btn btn-outline-secondary">{{ _('Cancel') }}</a>
 | 
				
			||||||
    </form>
 | 
					    </form>
 | 
				
			||||||
</div>
 | 
					</div>
 | 
				
			||||||
{% endblock %}
 | 
					{% endblock %}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -23,4 +23,5 @@ RUN groupadd -g $GID appuser &&     useradd -u $UID -g $GID -m appuser &&     ch
 | 
				
			||||||
USER appuser
 | 
					USER appuser
 | 
				
			||||||
 | 
					
 | 
				
			||||||
EXPOSE 5000
 | 
					EXPOSE 5000
 | 
				
			||||||
CMD ["python", "app.py"]
 | 
					
 | 
				
			||||||
 | 
					CMD ["gunicorn", "-b", "0.0.0.0:5000", "app:app"]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -59,7 +59,7 @@ load_dotenv(override=True)
 | 
				
			||||||
# Lade Umgebungsvariablen aus .env mit override
 | 
					# Lade Umgebungsvariablen aus .env mit override
 | 
				
			||||||
load_dotenv(override=True)
 | 
					load_dotenv(override=True)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Konfiguration
 | 
					# App-Configuration
 | 
				
			||||||
app.config.update(
 | 
					app.config.update(
 | 
				
			||||||
    SECRET_KEY=os.getenv('SECRET_KEY'),
 | 
					    SECRET_KEY=os.getenv('SECRET_KEY'),
 | 
				
			||||||
    SQLALCHEMY_DATABASE_URI=('sqlite:////app/data/games.db'),
 | 
					    SQLALCHEMY_DATABASE_URI=('sqlite:////app/data/games.db'),
 | 
				
			||||||
| 
						 | 
					@ -74,7 +74,7 @@ app.config.update(
 | 
				
			||||||
 | 
					
 | 
				
			||||||
interval_hours = int(os.getenv('CHECK_EXPIRING_KEYS_INTERVAL_HOURS', 12))
 | 
					interval_hours = int(os.getenv('CHECK_EXPIRING_KEYS_INTERVAL_HOURS', 12))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Initialisierung
 | 
					# Initialisation
 | 
				
			||||||
db = SQLAlchemy(app, metadata=metadata)
 | 
					db = SQLAlchemy(app, metadata=metadata)
 | 
				
			||||||
migrate = Migrate(app, db)
 | 
					migrate = Migrate(app, db)
 | 
				
			||||||
login_manager = LoginManager(app)
 | 
					login_manager = LoginManager(app)
 | 
				
			||||||
| 
						 | 
					@ -98,7 +98,7 @@ def inject_template_vars():
 | 
				
			||||||
        theme='dark' if request.cookies.get('dark_mode') == 'true' else 'light'
 | 
					        theme='dark' if request.cookies.get('dark_mode') == 'true' else 'light'
 | 
				
			||||||
    )
 | 
					    )
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Datenbankmodelle
 | 
					# DB Models
 | 
				
			||||||
class User(db.Model, UserMixin):
 | 
					class User(db.Model, UserMixin):
 | 
				
			||||||
    __tablename__ = 'users'
 | 
					    __tablename__ = 'users'
 | 
				
			||||||
    id = db.Column(db.Integer, primary_key=True)
 | 
					    id = db.Column(db.Integer, primary_key=True)
 | 
				
			||||||
| 
						 | 
					@ -429,7 +429,7 @@ def export_pdf():
 | 
				
			||||||
            game.redeem_date.strftime('%d.%m.%y') if game.redeem_date else ''
 | 
					            game.redeem_date.strftime('%d.%m.%y') if game.redeem_date else ''
 | 
				
			||||||
        ])
 | 
					        ])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # Tabelle formatieren
 | 
					    # Table format
 | 
				
			||||||
    table = Table(data, colWidths=col_widths, repeatRows=1)
 | 
					    table = Table(data, colWidths=col_widths, repeatRows=1)
 | 
				
			||||||
    table.setStyle(TableStyle([
 | 
					    table.setStyle(TableStyle([
 | 
				
			||||||
        ('FONTNAME', (0,0), (-1,0), 'Helvetica-Bold'),
 | 
					        ('FONTNAME', (0,0), (-1,0), 'Helvetica-Bold'),
 | 
				
			||||||
| 
						 | 
					@ -653,7 +653,7 @@ def check_expiring_keys():
 | 
				
			||||||
                send_notification(user, game)
 | 
					                send_notification(user, game)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Optional: Cleanup-Funktion für regelmäßiges Löschen abgelaufener Tokens
 | 
					# Optional: cleaning up old tokens
 | 
				
			||||||
def cleanup_expired_tokens():
 | 
					def cleanup_expired_tokens():
 | 
				
			||||||
    now = datetime.utcnow()
 | 
					    now = datetime.utcnow()
 | 
				
			||||||
    expired = RedeemToken.query.filter(RedeemToken.expires < now).all()
 | 
					    expired = RedeemToken.query.filter(RedeemToken.expires < now).all()
 | 
				
			||||||
| 
						 | 
					@ -662,13 +662,13 @@ def cleanup_expired_tokens():
 | 
				
			||||||
    db.session.commit()
 | 
					    db.session.commit()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Scheduler initialisieren und starten
 | 
					# Scheduler start
 | 
				
			||||||
scheduler = BackgroundScheduler()
 | 
					scheduler = BackgroundScheduler()
 | 
				
			||||||
scheduler.add_job(func=check_expiring_keys, trigger="interval", hours=interval_hours)
 | 
					scheduler.add_job(func=check_expiring_keys, trigger="interval", hours=interval_hours)
 | 
				
			||||||
scheduler.add_job(func=cleanup_expired_tokens, trigger="interval", hours=1)
 | 
					scheduler.add_job(func=cleanup_expired_tokens, trigger="interval", hours=1)
 | 
				
			||||||
scheduler.start()
 | 
					scheduler.start()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Shutdown des Schedulers bei Beendigung der App
 | 
					# Shutdown of the Schedulers when stopping the app
 | 
				
			||||||
atexit.register(lambda: scheduler.shutdown())
 | 
					atexit.register(lambda: scheduler.shutdown())
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if __name__ == '__main__':
 | 
					if __name__ == '__main__':
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -14,3 +14,4 @@ matrix-client
 | 
				
			||||||
reportlab
 | 
					reportlab
 | 
				
			||||||
requests
 | 
					requests
 | 
				
			||||||
pillow
 | 
					pillow
 | 
				
			||||||
 | 
					gunicorn
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -42,7 +42,7 @@ body {
 | 
				
			||||||
  color: #ff6b6b;
 | 
					  color: #ff6b6b;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Progressbar-Animationen */
 | 
					/* Progressbar-Animations */
 | 
				
			||||||
#expiry-bar {
 | 
					#expiry-bar {
 | 
				
			||||||
    transition: width 1s linear, background-color 0.5s ease;
 | 
					    transition: width 1s linear, background-color 0.5s ease;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -4,7 +4,7 @@
 | 
				
			||||||
    <div class="col-md-6">
 | 
					    <div class="col-md-6">
 | 
				
			||||||
        <div class="card shadow-sm">
 | 
					        <div class="card shadow-sm">
 | 
				
			||||||
            <div class="card-body text-center">
 | 
					            <div class="card-body text-center">
 | 
				
			||||||
                <img src="{{ url_for('static', filename='logo.png') }}" alt="Logo" width="311" height="240" class="mb-4" style="object-fit:contain;">
 | 
					                <img src="{{ url_for('static', filename='logo.png') }}" alt="Logo" width="266" height="206" class="mb-4" style="object-fit:contain;">
 | 
				
			||||||
                <h2 class="card-title mb-4">{{ _('Login') }}</h2>
 | 
					                <h2 class="card-title mb-4">{{ _('Login') }}</h2>
 | 
				
			||||||
                <form method="POST">
 | 
					                <form method="POST">
 | 
				
			||||||
                    <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
 | 
					                    <input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -84,7 +84,7 @@ function updateCountdown() {
 | 
				
			||||||
    updateProgressBar(percent);
 | 
					    updateProgressBar(percent);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Initialisierung
 | 
					// run countdown
 | 
				
			||||||
updateCountdown();
 | 
					updateCountdown();
 | 
				
			||||||
const timer = setInterval(updateCountdown, 1000);
 | 
					const timer = setInterval(updateCountdown, 1000);
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,10 +8,10 @@ declare -A locales=(
 | 
				
			||||||
  ["en"]="en"
 | 
					  ["en"]="en"
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# POT-Datei erstellen
 | 
					# create POT-file
 | 
				
			||||||
docker-compose exec steam-manager pybabel extract -F babel.cfg -o translations/messages.pot .
 | 
					docker-compose exec steam-manager pybabel extract -F babel.cfg -o translations/messages.pot .
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Für jede Sprache prüfen und ggf. initialisieren
 | 
					# Check for each language and initialize if necessary
 | 
				
			||||||
for lang in "${!locales[@]}"; do
 | 
					for lang in "${!locales[@]}"; do
 | 
				
			||||||
  if [ ! -f "translations/${locales[$lang]}/LC_MESSAGES/messages.po" ]; then
 | 
					  if [ ! -f "translations/${locales[$lang]}/LC_MESSAGES/messages.po" ]; then
 | 
				
			||||||
    docker-compose exec steam-manager pybabel init \
 | 
					    docker-compose exec steam-manager pybabel init \
 | 
				
			||||||
| 
						 | 
					@ -21,8 +21,8 @@ for lang in "${!locales[@]}"; do
 | 
				
			||||||
  fi
 | 
					  fi
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Übersetzungen aktualisieren und kompilieren
 | 
					# Update and compile translations
 | 
				
			||||||
docker-compose exec steam-manager pybabel update -i translations/messages.pot -d translations
 | 
					docker-compose exec steam-manager pybabel update -i translations/messages.pot -d translations
 | 
				
			||||||
docker-compose exec steam-manager pybabel compile -d translations
 | 
					docker-compose exec steam-manager pybabel compile -d translations
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "✅ Übersetzungen aktualisiert!"
 | 
					echo "✅ Translations updated!"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -7,8 +7,8 @@ msgid ""
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
"Project-Id-Version: PROJECT VERSION\n"
 | 
					"Project-Id-Version: PROJECT VERSION\n"
 | 
				
			||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
 | 
					"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
 | 
				
			||||||
"POT-Creation-Date: 2025-04-26 11:13+0000\n"
 | 
					"POT-Creation-Date: 2025-04-29 13:06+0000\n"
 | 
				
			||||||
"PO-Revision-Date: 2025-04-26 11:13+0000\n"
 | 
					"PO-Revision-Date: 2025-04-29 13:06+0000\n"
 | 
				
			||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 | 
					"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 | 
				
			||||||
"Language: de\n"
 | 
					"Language: de\n"
 | 
				
			||||||
"Language-Team: de <LL@li.org>\n"
 | 
					"Language-Team: de <LL@li.org>\n"
 | 
				
			||||||
| 
						 | 
					@ -20,83 +20,83 @@ msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:187
 | 
					#: app.py:187
 | 
				
			||||||
msgid "Invalid credentials"
 | 
					msgid "Invalid credentials"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Ungültige Anmeldedaten"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:193
 | 
					#: app.py:193
 | 
				
			||||||
msgid "Registrierungen sind deaktiviert"
 | 
					msgid "No new registrations. They are deactivated!"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Upps. Keine neuen Registrierungen, sorry!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:201
 | 
					#: app.py:201
 | 
				
			||||||
msgid "Username already exists"
 | 
					msgid "Username already exists"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Benutzername existiert bereits"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:227
 | 
					#: app.py:227
 | 
				
			||||||
msgid "Aktuelles Passwort ist falsch"
 | 
					msgid "Current passwort is wrong"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Das aktuelle Passwort ist falsch"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:231
 | 
					#: app.py:231
 | 
				
			||||||
msgid "Neue Passwörter stimmen nicht überein"
 | 
					msgid "New Passwords are not matching"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Die neuen Passwörter stimmen nicht überein"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:236
 | 
					#: app.py:236
 | 
				
			||||||
msgid "Passwort erfolgreich geändert"
 | 
					msgid "Password changed successfully"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Passwort erfolgreich geändert"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:266
 | 
					#: app.py:266
 | 
				
			||||||
msgid "Game added successfully!"
 | 
					msgid "Game added successfully!"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Spiel erfolgreich hinzugefügt!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:271
 | 
					#: app.py:271
 | 
				
			||||||
msgid "Steam Key already exists!"
 | 
					msgid "Steam Key already exists!"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Game-Key existiert bereits!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:274 app.py:318
 | 
					#: app.py:274 app.py:318
 | 
				
			||||||
msgid "Error: "
 | 
					msgid "Error: "
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Fehler: "
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:313
 | 
					#: app.py:313
 | 
				
			||||||
msgid "Changes saved!"
 | 
					msgid "Changes saved!"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Änderungen gespeichert!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:401
 | 
					#: app.py:401
 | 
				
			||||||
msgid "Game List (without Keys)"
 | 
					msgid "Game List (without Keys)"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Spieleliste (ohne Keys)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:494
 | 
					#: app.py:494
 | 
				
			||||||
#, python-format
 | 
					#, python-format
 | 
				
			||||||
msgid "%(new)d neue Spiele importiert, %(dup)d Duplikate übersprungen"
 | 
					msgid "%(new)d new games imported, %(dup)d skipped duplicates"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "%(new)d neue Spiele importiert, %(dup)d Duplikate übersprungen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:498
 | 
					#: app.py:498
 | 
				
			||||||
#, python-format
 | 
					#, python-format
 | 
				
			||||||
msgid "Importfehler: %(error)s"
 | 
					msgid "Import error: %(error)s"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Importfehler: %(error)s"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:502
 | 
					#: app.py:502
 | 
				
			||||||
msgid "Bitte eine gültige CSV-Datei hochladen."
 | 
					msgid "Please upload a valid CSV file."
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Bitte lade eine gültige CSV-Datei hoch."
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:4 templates/index.html:9
 | 
					#: templates/add_game.html:4 templates/index.html:9
 | 
				
			||||||
msgid "Add New Game"
 | 
					msgid "Add New Game"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Neues Spiel hinzufügen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:9 templates/edit_game.html:9 templates/index.html:19
 | 
					#: templates/add_game.html:9 templates/edit_game.html:9 templates/index.html:19
 | 
				
			||||||
msgid "Name"
 | 
					msgid "Name"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Name"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:13 templates/edit_game.html:13
 | 
					#: templates/add_game.html:13 templates/edit_game.html:13
 | 
				
			||||||
msgid "Game Key"
 | 
					msgid "Game Key"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Spiel-Key"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:17 templates/edit_game.html:21
 | 
					#: templates/add_game.html:17 templates/edit_game.html:21
 | 
				
			||||||
#: templates/index.html:21
 | 
					#: templates/index.html:21
 | 
				
			||||||
msgid "Status"
 | 
					msgid "Status"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Status"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:19 templates/edit_game.html:23
 | 
					#: templates/add_game.html:19 templates/edit_game.html:23
 | 
				
			||||||
#: templates/index.html:41
 | 
					#: templates/index.html:41
 | 
				
			||||||
msgid "Not redeemed"
 | 
					msgid "Not redeemed"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Nicht eingelöst"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:20 templates/edit_game.html:24
 | 
					#: templates/add_game.html:20 templates/edit_game.html:24
 | 
				
			||||||
#: templates/index.html:43
 | 
					#: templates/index.html:43
 | 
				
			||||||
| 
						 | 
					@ -106,182 +106,175 @@ msgstr ""
 | 
				
			||||||
#: templates/add_game.html:21 templates/edit_game.html:25
 | 
					#: templates/add_game.html:21 templates/edit_game.html:25
 | 
				
			||||||
#: templates/index.html:45
 | 
					#: templates/index.html:45
 | 
				
			||||||
msgid "Redeemed"
 | 
					msgid "Redeemed"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Verschenkt"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:25 templates/edit_game.html:29
 | 
					#: templates/add_game.html:25 templates/edit_game.html:29
 | 
				
			||||||
#: templates/index.html:23
 | 
					#: templates/index.html:23
 | 
				
			||||||
msgid "Redeem by"
 | 
					msgid "Redeem by"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Einzulösen vor"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:29 templates/edit_game.html:33
 | 
					#: templates/add_game.html:29 templates/edit_game.html:33
 | 
				
			||||||
msgid "Recipient"
 | 
					msgid "Recipient"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Empfänger"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:33 templates/edit_game.html:37
 | 
					#: templates/add_game.html:33 templates/edit_game.html:37
 | 
				
			||||||
msgid "Shop URL"
 | 
					msgid "Shop URL"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Shop-URL"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:37 templates/edit_game.html:41
 | 
					#: templates/add_game.html:37 templates/edit_game.html:41
 | 
				
			||||||
msgid "Notes"
 | 
					msgid "Notes"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Notizen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:41 templates/edit_game.html:60
 | 
					#: templates/add_game.html:41 templates/edit_game.html:60
 | 
				
			||||||
msgid "Save"
 | 
					msgid "Save"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Speichern"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:42 templates/edit_game.html:61
 | 
					#: templates/add_game.html:42 templates/edit_game.html:61
 | 
				
			||||||
 | 
					#: templates/import.html:12
 | 
				
			||||||
msgid "Cancel"
 | 
					msgid "Cancel"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Abbrechen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:7
 | 
					#: templates/base.html:7
 | 
				
			||||||
msgid "Game Key Manager"
 | 
					msgid "Game Key Manager"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Game Key Manager"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:23
 | 
					#: templates/base.html:23
 | 
				
			||||||
msgid "Search"
 | 
					msgid "Search"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Suche"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:31
 | 
					#: templates/base.html:31
 | 
				
			||||||
msgid "Dark Mode"
 | 
					msgid "Dark Mode"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Dark Mode"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:44
 | 
					#: templates/base.html:44 templates/login.html:16 templates/register.html:15
 | 
				
			||||||
msgid "Passwort"
 | 
					msgid "Password"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Passwort"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:47
 | 
					#: templates/base.html:47
 | 
				
			||||||
msgid "Logout"
 | 
					msgid "Logout"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Abmelden"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/change_password.html:4 templates/change_password.html:19
 | 
					#: templates/change_password.html:4 templates/change_password.html:19
 | 
				
			||||||
msgid "Change Password"
 | 
					msgid "Change Password"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Passwort ändern"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/change_password.html:8
 | 
					#: templates/change_password.html:8
 | 
				
			||||||
msgid "Current Password"
 | 
					msgid "Current Password"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Aktuelles Passwort"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/change_password.html:12
 | 
					#: templates/change_password.html:12
 | 
				
			||||||
msgid "New Password"
 | 
					msgid "New Password"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Neues Passwort"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/change_password.html:16
 | 
					#: templates/change_password.html:16
 | 
				
			||||||
msgid "Confirm New Password"
 | 
					msgid "Confirm New Password"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Neues Passwort bestätigen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/edit_game.html:4
 | 
					#: templates/edit_game.html:4
 | 
				
			||||||
msgid "Edit Game"
 | 
					msgid "Edit Game"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Spiel bearbeiten"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/edit_game.html:17
 | 
					#: templates/edit_game.html:17
 | 
				
			||||||
msgid "Steam AppID (optional)"
 | 
					msgid "Steam AppID (optional)"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Steam AppID (optional)"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/edit_game.html:47
 | 
					#: templates/edit_game.html:47
 | 
				
			||||||
msgid "Active Redeem Link"
 | 
					msgid "Active Redeem Link"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Aktiver Einlöse-Link"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/edit_game.html:54
 | 
					#: templates/edit_game.html:54
 | 
				
			||||||
msgid "Expires at"
 | 
					msgid "Expires at"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Läuft ab"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/import.html:4
 | 
					#: templates/import.html:4
 | 
				
			||||||
msgid "Import Games"
 | 
					msgid "Import Games"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Spiele importieren"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/import.html:8
 | 
					#: templates/import.html:8
 | 
				
			||||||
msgid "CSV-Datei auswählen"
 | 
					msgid "Select CSV file"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "CSV-Datei auswählen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/import.html:11
 | 
					#: templates/import.html:11
 | 
				
			||||||
msgid "Importieren"
 | 
					msgid "Import"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Importieren"
 | 
				
			||||||
 | 
					 | 
				
			||||||
#: templates/import.html:12
 | 
					 | 
				
			||||||
msgid "Abbrechen"
 | 
					 | 
				
			||||||
msgstr ""
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:4
 | 
					#: templates/index.html:4
 | 
				
			||||||
msgid "My Games"
 | 
					msgid "My Games"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Meine Spiele"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:6
 | 
					#: templates/index.html:6
 | 
				
			||||||
msgid "Export CSV"
 | 
					msgid "Export CSV"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "CSV exportieren"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:8
 | 
					#: templates/index.html:8
 | 
				
			||||||
msgid "Import CSV"
 | 
					msgid "Import CSV"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "CSV importieren"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:18
 | 
					#: templates/index.html:18
 | 
				
			||||||
msgid "Cover"
 | 
					msgid "Cover"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Cover"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:20
 | 
					#: templates/index.html:20
 | 
				
			||||||
msgid "Key"
 | 
					msgid "Key"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Key"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:22
 | 
					#: templates/index.html:22
 | 
				
			||||||
msgid "Created"
 | 
					msgid "Created"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Erstellt"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:24 templates/index.html:56
 | 
					#: templates/index.html:24 templates/index.html:56
 | 
				
			||||||
msgid "Shop"
 | 
					msgid "Shop"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Shop"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:25
 | 
					#: templates/index.html:25
 | 
				
			||||||
msgid "Actions"
 | 
					msgid "Actions"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Aktionen"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:63
 | 
					#: templates/index.html:63
 | 
				
			||||||
msgid "Generate redeem link"
 | 
					msgid "Generate redeem link"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Geschenk-Link generieren"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:70
 | 
					#: templates/index.html:70
 | 
				
			||||||
msgid "Really delete?"
 | 
					msgid "Really delete?"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Wirklich löschen?"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:96
 | 
					#: templates/index.html:96
 | 
				
			||||||
msgid "Redeem link copied to clipboard!"
 | 
					msgid "Redeem link copied to clipboard!"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Geschenk-Link in die Zwischenablage kopiert!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:100
 | 
					#: templates/index.html:100
 | 
				
			||||||
msgid "Error generating link"
 | 
					msgid "Error generating link"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Fehler beim Generieren des Links"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:106
 | 
					#: templates/index.html:106
 | 
				
			||||||
msgid "No games yet"
 | 
					msgid "No games yet"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Der Kornspeicher ist leer, Sire!"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/login.html:8 templates/login.html:19
 | 
					#: templates/login.html:8 templates/login.html:19
 | 
				
			||||||
msgid "Login"
 | 
					msgid "Login"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Anmelden"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/login.html:12 templates/register.html:11
 | 
					#: templates/login.html:12 templates/register.html:11
 | 
				
			||||||
msgid "Username"
 | 
					msgid "Username"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Benutzername"
 | 
				
			||||||
 | 
					 | 
				
			||||||
#: templates/login.html:16 templates/register.html:15
 | 
					 | 
				
			||||||
msgid "Password"
 | 
					 | 
				
			||||||
msgstr ""
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/login.html:22
 | 
					#: templates/login.html:22
 | 
				
			||||||
msgid "No account yet? Register"
 | 
					msgid "No account yet? Register"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Noch kein Konto? Registrieren"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/redeem.html:16
 | 
					#: templates/redeem.html:16
 | 
				
			||||||
msgid "Your Key:"
 | 
					msgid "Your Key:"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Dein Key:"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/redeem.html:22
 | 
					#: templates/redeem.html:22
 | 
				
			||||||
msgid "Redeem now on"
 | 
					msgid "Redeem now on"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Jetzt einlösen auf"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/redeem.html:26
 | 
					#: templates/redeem.html:26
 | 
				
			||||||
msgid "This page will expire in"
 | 
					msgid "This page will expire in"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Diese Seite läuft ab in"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/register.html:7 templates/register.html:18
 | 
					#: templates/register.html:7 templates/register.html:18
 | 
				
			||||||
msgid "Register"
 | 
					msgid "Register"
 | 
				
			||||||
msgstr ""
 | 
					msgstr "Registrieren"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
										
											Binary file not shown.
										
									
								
							| 
						 | 
					@ -7,8 +7,8 @@ msgid ""
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
"Project-Id-Version: PROJECT VERSION\n"
 | 
					"Project-Id-Version: PROJECT VERSION\n"
 | 
				
			||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
 | 
					"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
 | 
				
			||||||
"POT-Creation-Date: 2025-04-26 11:13+0000\n"
 | 
					"POT-Creation-Date: 2025-04-29 13:06+0000\n"
 | 
				
			||||||
"PO-Revision-Date: 2025-04-26 11:13+0000\n"
 | 
					"PO-Revision-Date: 2025-04-29 13:06+0000\n"
 | 
				
			||||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 | 
					"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 | 
				
			||||||
"Language: en\n"
 | 
					"Language: en\n"
 | 
				
			||||||
"Language-Team: en <LL@li.org>\n"
 | 
					"Language-Team: en <LL@li.org>\n"
 | 
				
			||||||
| 
						 | 
					@ -23,7 +23,7 @@ msgid "Invalid credentials"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:193
 | 
					#: app.py:193
 | 
				
			||||||
msgid "Registrierungen sind deaktiviert"
 | 
					msgid "No new registrations. They are deactivated!"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:201
 | 
					#: app.py:201
 | 
				
			||||||
| 
						 | 
					@ -31,15 +31,15 @@ msgid "Username already exists"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:227
 | 
					#: app.py:227
 | 
				
			||||||
msgid "Aktuelles Passwort ist falsch"
 | 
					msgid "Current passwort is wrong"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:231
 | 
					#: app.py:231
 | 
				
			||||||
msgid "Neue Passwörter stimmen nicht überein"
 | 
					msgid "New Passwords are not matching"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:236
 | 
					#: app.py:236
 | 
				
			||||||
msgid "Passwort erfolgreich geändert"
 | 
					msgid "Password changed successfully"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:266
 | 
					#: app.py:266
 | 
				
			||||||
| 
						 | 
					@ -64,16 +64,16 @@ msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:494
 | 
					#: app.py:494
 | 
				
			||||||
#, python-format
 | 
					#, python-format
 | 
				
			||||||
msgid "%(new)d neue Spiele importiert, %(dup)d Duplikate übersprungen"
 | 
					msgid "%(new)d new games imported, %(dup)d skipped duplicates"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:498
 | 
					#: app.py:498
 | 
				
			||||||
#, python-format
 | 
					#, python-format
 | 
				
			||||||
msgid "Importfehler: %(error)s"
 | 
					msgid "Import error: %(error)s"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:502
 | 
					#: app.py:502
 | 
				
			||||||
msgid "Bitte eine gültige CSV-Datei hochladen."
 | 
					msgid "Please upload a valid CSV file."
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:4 templates/index.html:9
 | 
					#: templates/add_game.html:4 templates/index.html:9
 | 
				
			||||||
| 
						 | 
					@ -130,6 +130,7 @@ msgid "Save"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:42 templates/edit_game.html:61
 | 
					#: templates/add_game.html:42 templates/edit_game.html:61
 | 
				
			||||||
 | 
					#: templates/import.html:12
 | 
				
			||||||
msgid "Cancel"
 | 
					msgid "Cancel"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -145,8 +146,8 @@ msgstr ""
 | 
				
			||||||
msgid "Dark Mode"
 | 
					msgid "Dark Mode"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:44
 | 
					#: templates/base.html:44 templates/login.html:16 templates/register.html:15
 | 
				
			||||||
msgid "Passwort"
 | 
					msgid "Password"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:47
 | 
					#: templates/base.html:47
 | 
				
			||||||
| 
						 | 
					@ -190,15 +191,11 @@ msgid "Import Games"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/import.html:8
 | 
					#: templates/import.html:8
 | 
				
			||||||
msgid "CSV-Datei auswählen"
 | 
					msgid "Select CSV file"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/import.html:11
 | 
					#: templates/import.html:11
 | 
				
			||||||
msgid "Importieren"
 | 
					msgid "Import"
 | 
				
			||||||
msgstr ""
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#: templates/import.html:12
 | 
					 | 
				
			||||||
msgid "Abbrechen"
 | 
					 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:4
 | 
					#: templates/index.html:4
 | 
				
			||||||
| 
						 | 
					@ -261,10 +258,6 @@ msgstr ""
 | 
				
			||||||
msgid "Username"
 | 
					msgid "Username"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/login.html:16 templates/register.html:15
 | 
					 | 
				
			||||||
msgid "Password"
 | 
					 | 
				
			||||||
msgstr ""
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#: templates/login.html:22
 | 
					#: templates/login.html:22
 | 
				
			||||||
msgid "No account yet? Register"
 | 
					msgid "No account yet? Register"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -8,7 +8,7 @@ msgid ""
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
"Project-Id-Version: PROJECT VERSION\n"
 | 
					"Project-Id-Version: PROJECT VERSION\n"
 | 
				
			||||||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
 | 
					"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
 | 
				
			||||||
"POT-Creation-Date: 2025-04-26 11:13+0000\n"
 | 
					"POT-Creation-Date: 2025-04-29 13:06+0000\n"
 | 
				
			||||||
"PO-Revision-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"
 | 
					"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 | 
				
			||||||
"Language-Team: LANGUAGE <LL@li.org>\n"
 | 
					"Language-Team: LANGUAGE <LL@li.org>\n"
 | 
				
			||||||
| 
						 | 
					@ -22,7 +22,7 @@ msgid "Invalid credentials"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:193
 | 
					#: app.py:193
 | 
				
			||||||
msgid "Registrierungen sind deaktiviert"
 | 
					msgid "No new registrations. They are deactivated!"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:201
 | 
					#: app.py:201
 | 
				
			||||||
| 
						 | 
					@ -30,15 +30,15 @@ msgid "Username already exists"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:227
 | 
					#: app.py:227
 | 
				
			||||||
msgid "Aktuelles Passwort ist falsch"
 | 
					msgid "Current passwort is wrong"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:231
 | 
					#: app.py:231
 | 
				
			||||||
msgid "Neue Passwörter stimmen nicht überein"
 | 
					msgid "New Passwords are not matching"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:236
 | 
					#: app.py:236
 | 
				
			||||||
msgid "Passwort erfolgreich geändert"
 | 
					msgid "Password changed successfully"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:266
 | 
					#: app.py:266
 | 
				
			||||||
| 
						 | 
					@ -63,16 +63,16 @@ msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:494
 | 
					#: app.py:494
 | 
				
			||||||
#, python-format
 | 
					#, python-format
 | 
				
			||||||
msgid "%(new)d neue Spiele importiert, %(dup)d Duplikate übersprungen"
 | 
					msgid "%(new)d new games imported, %(dup)d skipped duplicates"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:498
 | 
					#: app.py:498
 | 
				
			||||||
#, python-format
 | 
					#, python-format
 | 
				
			||||||
msgid "Importfehler: %(error)s"
 | 
					msgid "Import error: %(error)s"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: app.py:502
 | 
					#: app.py:502
 | 
				
			||||||
msgid "Bitte eine gültige CSV-Datei hochladen."
 | 
					msgid "Please upload a valid CSV file."
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:4 templates/index.html:9
 | 
					#: templates/add_game.html:4 templates/index.html:9
 | 
				
			||||||
| 
						 | 
					@ -129,6 +129,7 @@ msgid "Save"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/add_game.html:42 templates/edit_game.html:61
 | 
					#: templates/add_game.html:42 templates/edit_game.html:61
 | 
				
			||||||
 | 
					#: templates/import.html:12
 | 
				
			||||||
msgid "Cancel"
 | 
					msgid "Cancel"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -144,8 +145,8 @@ msgstr ""
 | 
				
			||||||
msgid "Dark Mode"
 | 
					msgid "Dark Mode"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:44
 | 
					#: templates/base.html:44 templates/login.html:16 templates/register.html:15
 | 
				
			||||||
msgid "Passwort"
 | 
					msgid "Password"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/base.html:47
 | 
					#: templates/base.html:47
 | 
				
			||||||
| 
						 | 
					@ -189,15 +190,11 @@ msgid "Import Games"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/import.html:8
 | 
					#: templates/import.html:8
 | 
				
			||||||
msgid "CSV-Datei auswählen"
 | 
					msgid "Select CSV file"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/import.html:11
 | 
					#: templates/import.html:11
 | 
				
			||||||
msgid "Importieren"
 | 
					msgid "Import"
 | 
				
			||||||
msgstr ""
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#: templates/import.html:12
 | 
					 | 
				
			||||||
msgid "Abbrechen"
 | 
					 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/index.html:4
 | 
					#: templates/index.html:4
 | 
				
			||||||
| 
						 | 
					@ -260,10 +257,6 @@ msgstr ""
 | 
				
			||||||
msgid "Username"
 | 
					msgid "Username"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#: templates/login.html:16 templates/register.html:15
 | 
					 | 
				
			||||||
msgid "Password"
 | 
					 | 
				
			||||||
msgstr ""
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#: templates/login.html:22
 | 
					#: templates/login.html:22
 | 
				
			||||||
msgid "No account yet? Register"
 | 
					msgid "No account yet? Register"
 | 
				
			||||||
msgstr ""
 | 
					msgstr ""
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
							
								
								
									
										10
									
								
								upgrade.sh
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								upgrade.sh
									
										
									
									
									
								
							| 
						 | 
					@ -1,22 +1,22 @@
 | 
				
			||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Setze das Arbeitsverzeichnis auf das Projektverzeichnis
 | 
					# Set the working directory to the project directory
 | 
				
			||||||
cd "$(dirname "$0")/steam-gift-manager"
 | 
					cd "$(dirname "$0")/steam-gift-manager"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Setze FLASK_APP, falls nötig
 | 
					# Setze FLASK_APP, falls nötig
 | 
				
			||||||
export FLASK_APP=app.py
 | 
					export FLASK_APP=app.py
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Initialisiere migrations, falls noch nicht vorhanden
 | 
					# Initialize migrations, if not yet available
 | 
				
			||||||
if [ ! -d migrations ]; then
 | 
					if [ ! -d migrations ]; then
 | 
				
			||||||
  echo "Starting Flask-Migrate..."
 | 
					  echo "Starting Flask-Migrate..."
 | 
				
			||||||
  docker-compose exec steam-manager flask db init
 | 
					  docker-compose exec steam-manager flask db init
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Erzeuge Migration (nur wenn sich Modelle geändert haben)
 | 
					# Create migration (only if models have changed)
 | 
				
			||||||
docker-compose exec steam-manager flask db migrate -m "Automatic Migration"
 | 
					docker-compose exec steam-manager flask db migrate -m "Automatic Migration"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Wende Migration an
 | 
					# Apply migration
 | 
				
			||||||
docker-compose exec steam-manager flask db upgrade
 | 
					docker-compose exec steam-manager flask db upgrade
 | 
				
			||||||
 | 
					
 | 
				
			||||||
echo "✅ Database-Migration abgeschlossen!"
 | 
					echo "✅ Database migration completed!"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue