1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-26 18:18:51 +01:00

Prefill original title and content from projecteuler.net

This commit is contained in:
2020-05-02 20:18:04 +02:00
parent 3e85290fc6
commit 38633d6e79
21 changed files with 178 additions and 72 deletions

View File

@@ -5,12 +5,11 @@ de:
administration: "Administration"
translations: "Übersetzungen"
view_translations: "Übersetzungen anschauen"
update_problem_count: "Problem-Anzahl aktualisieren"
update: "Aktualisieren"
update_problem_count:
success_message: "Problem-Anzahl wurde erfolgreich aktualisiert!"
failure_message: "Problem-Anzahl konnte nicht aktualisiert werden! Grund: %{error}"
no_problem_count: "Keine Problem-Anzahl gegeben!"
pull_problems: "Probleme aktualisieren"
number_of_problems: "Anzahl Probleme"
time_since_last_pull: "Zeit seit letzter erfolgreicher Aktualisierung"
pull_problems:
pull_problems_initiated: "Das Aktualisieren der Probleme wurde angestoßen."
translations:
index:
anonymous: "Anonym"

View File

@@ -2,11 +2,11 @@
de:
problems:
not_yet_translated: Dieses Problem wurde noch nicht übersetzt.
not_translated_yet: "(noch nicht übersetzt)"
index:
suggest_translation: Übersetzung vorschlagen
translated_count: "Übersetzte Probleme: %{translated} von %{total}"
show:
improve_translation: Übersetzung verbessern
problem_subtitle: Problem %{id}
view_original_problem: Dieses Problem auf projecteuler.net
view_original_problem: Dieses Problem auf projecteuler.net
suggest_translation: Übersetzung vorschlagen

View File

@@ -32,7 +32,7 @@ Rails.application.routes.draw do
namespace :admin do
get '', to: 'dashboard#index', as: 'dashboard_index'
post '/update_problem_count', to: 'dashboard#update_problem_count', as: 'dashboard_update_problem_count'
post '/pull_problems', to: 'dashboard#pull_problems', as: 'dashboard_pull_problems'
resources :translations, only: [:index] do
get '', to: 'translations#show', as: ''
post 'accept', to: 'translations#accept'