Guides: initial implementation

* a guide is a wrapper around an article providing management tools.
 * administration is limited to the review process. Needs to be expanded.
 * articles on DB pages are seperate. Editor will be added in the future.
This commit is contained in:
Sarjuuk
2022-03-02 18:19:50 +01:00
parent 33a870ef78
commit b890d6504e
63 changed files with 6734 additions and 338 deletions

View File

@@ -35,10 +35,20 @@ class Lang
private static $spell;
private static $title;
private static $zone;
private static $guide;
private static $emote;
private static $enchantment;
private static $locales = array(
LOCALE_EN => 'English',
LOCALE_FR => 'Français',
LOCALE_DE => 'Deutsch',
LOCALE_CN => '简体中文',
LOCALE_ES => 'Español',
LOCALE_RU => 'Русский'
);
public static function load($loc)
{
if (!file_exists('localization/locale_'.$loc.'.php'))

View File

@@ -52,8 +52,11 @@ $lang = array(
'or' => " oder ",
'back' => "Zurück",
'reputationTip' => "Rufpunkte",
'byUserTimeAgo' => 'Von <a href="'.HOST_URL.'/?user=%s">%1$s</a> vor %s',
'byUser' => 'Von <a href="'.HOST_URL.'/?user=%1$s"%2$s>%1$s</a> ',
'help' => "Hilfe",
'status' => "Status",
'yes' => "Ja",
'no' => "Nein",
// filter
'extSearch' => "Erweiterte Suche",
@@ -80,6 +83,10 @@ $lang = array(
'compare' => "Vergleichen",
'view3D' => "3D-Ansicht",
'findUpgrades' => "Bessere Gegenstände finden…",
'report' => "Melden",
'writeGuide' => "Neuen Leitfaden erstellen",
'edit' => "Bearbeiten",
'changelog' => 'Änderungsprotokoll',
// miscTools
'errPageTitle' => "Seite nicht gefunden",
@@ -121,6 +128,7 @@ $lang = array(
'colon' => ': ',
'dateFmtShort' => "d.m.Y",
'dateFmtLong' => "d.m.Y \u\m H:i",
'timeAgo' => 'vor %s',
// error
'intError' => "Ein interner Fehler ist aufgetreten.",
@@ -150,6 +158,63 @@ $lang = array(
)
)
),
'guide' => array(
'guide' => "Leitfaden",
'guides' => "Leitfäden",
'myGuides' => "Meine Leitfäden",
'editTitle' => "Eigenen Leitfaden bearbeiten",
'newTitle' => "Leitfaden erstellen",
'author' => "Autor",
'spec' => "Spezialisierung",
'sticky' => "Angeheftet",
'views' => "Ansichten",
'patch' => "Patch",
'added' => "Hinzugefügt",
'rating' => "Wertung",
'votes' => "[span id=guiderating-value]%d[/span]/5 ([span id=guiderating-votes][n5=%d][/span] Bewertungen) [span id=guiderating][/span]",
'noVotes' => "nicht genug Bewertungen [span id=guiderating][/span]",
'byAuthor' => "Von %s",
'notFound' => "Dieser Leitfaden existiert nicht.",
'clTitle' => 'Änderungsprotokoll für "<a href="?guide=%1$d">%2$s</a>"',
'clStatusSet' => 'Status gesetzt auf %s',
'clCreated' => 'Erstellt',
'clMinorEdit' => 'Kleinere Bearbeitung',
'editor' => array(
'fullTitle' => 'Ganze Überschrift',
'fullTitleTip' => 'Der vollständige Titel des Leitfadens wird auf der Leitfadenseite verwendet und kann eine SEO-orientierte Formulierung enthalten.',
'name' => 'Name',
'nameTip' => 'Dies sollte ein einfacher und klarer Name für den Leitfaden sein, der an Orten wie Menüs und Leitfadenlisten verwendet werden kann.',
'description' => 'Beschreibung',
'descriptionTip' => 'Beschreibung, die für Suchmaschinen verwendet wird.&lt;br /&gt;&lt;br /&gt;Wenn leer, wird es automatisch generiert.',
// 'commentEmail' => 'Emailbenachrichtigung',
// 'commentEmailTip' => 'Soll der Autor darüber benachrichtigt werden, dass Nutzer diesen Guide kommentieren?',
'changelog' => 'Änderungsprotokoll für diese Änderung',
'changelogTip' => 'Änderungsprotokoll für diese Änderung',
'save' => 'Speichern',
'submit' => 'Zur Ansicht einsenden',
'autoupdate' => 'Autom. Update',
'showAdjPrev' => 'Zeige angrenzende Vorschau',
'preview' => 'Vorschau',
'class-spec' => 'Klasse / Spez.',
'category' => 'Kategorie',
'testGuide' => 'Sehen Sie, wie Ihr Leitfaden aussehen wird',
'images' => 'Bilder',
'statusTip' => array(
GUIDE_STATUS_DRAFT => 'Ihr Leitfaden ist im &quot;Entwurfs&quot;-Status und Sie sind der einzige der ihn sehen kann. Bearbeiten Sie ihn so lange Sie wollen und wenn Sie fertig sind reichen Sie ihn zur Überprüfung ein.',
GUIDE_STATUS_REVIEW => 'Ihr Leitfaden wird überprüft.',
GUIDE_STATUS_APPROVED => 'Ihr Leitfaden wurde veröffentlicht.',
GUIDE_STATUS_REJECTED => 'Ihr Leitfaden wurde abgewiesen. Nachdem die Mängel behoben wurde kann er erneut zur Überprüfung eingereicht werden.',
GUIDE_STATUS_ARCHIVED => 'Ihr Leitfaden ist veraltet und wurde archiviert. Er wird nicht mehr in der Übersicht gelistet und ist kann nicht mehr bearbeitet werden.]',
)
),
'category' => array(
null, "Klassen", "Berufe", "Weltereignisse", "Neue Spieler & Stufenfortschritt",
"Schlachtzüge & Bosskämpfe", "Wirtschaft & Währung", "Erfolge", "Gegenstände, Haus- & Reittiere", "Anderes"
),
'status' => array(
null, "Entwurf", "Zulassung ausstehend", "Zugelassen", "Abgelehnt", "Archiviert"
)
),
'profiler' => array(
'realm' => "Realm",
'region' => "Region",
@@ -344,6 +409,20 @@ $lang = array(
38 => "Schimäre", 39 => "Teufelssaurier", 41 => "Silithid", 42 => "Wurm", 43 => "Rhinozeros", 44 => "Wespe",
45 => "Kernhund", 46 => "Geisterbestie"
),
'classSpecs' => array(
-1 => 'Untalentiert',
0 => 'Hybride',
6 => ['Blut', 'Frost', 'Unheilig' ],
11 => ['Gleichgewicht', 'Wilder Kampf', 'Wiederherstellung'],
3 => ['Tierherrschaft', 'Treffsicherheit', 'Überleben' ],
8 => ['Arkan', 'Feuer', 'Frost' ],
2 => ['Heilig', 'Schutz', 'Vergeltung' ],
5 => ['Disziplin', 'Heilig', 'Schattenmagie' ],
4 => ['Meucheln', 'Kampf', 'Täuschung' ],
7 => ['Elementarkampf', 'Verstärkung', 'Wiederherstellung'],
9 => ['Gebrechen', 'Dämonologie', 'Zerstörung' ],
1 => ['Waffen', 'Furor', 'Schutz' ]
),
'pvpRank' => array(
null, "Gefreiter / Späher", "Fußknecht / Grunzer",
"Landsknecht / Waffenträger", "Feldwebel / Schlachtrufer", "Fähnrich / Rottenmeister",

View File

@@ -52,8 +52,11 @@ $lang = array(
'or' => " or ",
'back' => "Back",
'reputationTip' => "Reputation points",
'byUserTimeAgo' => 'By <a href="'.HOST_URL.'/?user=%s">%1$s</a> %s ago',
'byUser' => 'By <a href="'.HOST_URL.'/?user=%1$s"%2$s>%1$s</a> ', // mind the \s
'help' => "Help",
'status' => "Status",
'yes' => "Yes",
'no' => "No",
// filter
'extSearch' => "Extended search",
@@ -80,6 +83,10 @@ $lang = array(
'compare' => "Compare",
'view3D' => "View in 3D",
'findUpgrades' => "Find upgrades…",
'report' => "Report",
'writeGuide' => "Write New Guide",
'edit' => "Edit",
'changelog' => 'Changelog',
// misc Tools
'errPageTitle' => "Page not found",
@@ -120,7 +127,8 @@ $lang = array(
// formating
'colon' => ': ',
'dateFmtShort' => "Y/m/d",
'dateFmtLong' => "Y/m/d \a\\t H:i",
'dateFmtLong' => "Y/m/d \a\\t H:i A",
'timeAgo' => "%s ago",
// error
'intError' => "An internal error has occurred.",
@@ -150,6 +158,63 @@ $lang = array(
)
)
),
'guide' => array(
'guide' => "Guide",
'guides' => "Guides",
'myGuides' => "My Guides",
'editTitle' => "Edit your Guide",
'newTitle' => "Create New Guide",
'author' => "Author",
'spec' => "Specialization",
'sticky' => "Sticky Status",
'views' => "Views",
'patch' => "Patch",
'added' => "Added",
'rating' => "Rating",
'votes' => "[span id=guiderating-value]%d[/span]/5 ([span id=guiderating-votes][n5=%d][/span] votes) [span id=guiderating][/span]",
'noVotes' => "not enough votes [span id=guiderating][/span]",
'byAuthor' => "By %s",
'notFound' => "This guide doesn't exist.",
'clTitle' => 'Changelog For "<a href="?guide=%1$d">%2$s</a>"',
'clStatusSet' => 'Status set to %s',
'clCreated' => 'Created',
'clMinorEdit' => 'Minor Edit',
'editor' => array(
'fullTitle' => 'Full Title',
'fullTitleTip' => 'The full guide title will be used on the guide page and may include SEO-oriented phrasing.',
'name' => 'Name',
'nameTip' => 'This should be a simple and clear name of what the guide is, for use in places like menus and guide lists.',
'description' => 'Description',
'descriptionTip' => 'Description that will be used for search engines.&lt;br&gt;&lt;br&gt;If left empty, it will be generated automatically.',
// 'commentEmail' => 'Comment Emails',
// 'commentEmailTip' => 'Should the author get emailed whenever a user comments on this guide?',
'changelog' => 'Changelog For This Edit',
'changelogTip' => 'Enter your changelog for this update here.',
'save' => 'Save',
'submit' => 'Submit for Review',
'autoupdate' => 'Autoupdate',
'showAdjPrev' => 'Show adjacent preview',
'preview' => 'Preview',
'class-spec' => 'Class / Spec',
'category' => 'Category',
'testGuide' => 'See how your guide will look',
'images' => 'Images',
'statusTip' => array(
GUIDE_STATUS_DRAFT => 'Your guide is in &quot;Draft&quot; status and you are the only one able to see it. Keep editing it as long as you like, and when you feel it&apos;s ready submit it for review.',
GUIDE_STATUS_REVIEW => 'Your guide is being reviewed.',
GUIDE_STATUS_APPROVED => 'Your guide has been published.',
GUIDE_STATUS_REJECTED => 'Your guide has been rejected. After it\'s shortcomings have been remedied you may resubmit it for review.',
GUIDE_STATUS_ARCHIVED => 'Your guide is outdated and has been archived. Is will no longer be listed and can\'t be edited.',
)
),
'category' => array(
null, "Classes", "Professions", "World Events", "New Players & Leveling",
"Raid & Boss Fights", "Economy & Money", "Achievements", "Vanity Items, Pets & Mounts", "Other"
),
'status' => array(
null, "Draft", "Waiting for Approval", "Approved", "Rejected", "Archived"
),
),
'profiler' => array(
'realm' => "Realm",
'region' => "Region",
@@ -344,6 +409,20 @@ $lang = array(
38 => "Chimaera", 39 => "Devilsaur", 41 => "Silithid", 42 => "Worm", 43 => "Rhino", 44 => "Wasp",
45 => "Core Hound", 46 => "Spirit Beast"
),
'classSpecs' => array(
-1 => 'Untalented',
0 => 'Hybrid',
1 => ['Arms', 'Fury', 'Protection' ],
2 => ['Holy', 'Protection', 'Retribution' ],
3 => ['Beast Mastery', 'Marksmanship', 'Survival' ],
4 => ['Assassination', 'Combat', 'Subtlety' ],
5 => ['Discipline', 'Holy', 'Shadow Magic'],
6 => ['Blood', 'Frost', 'Unholy' ],
7 => ['Elemental Combat', 'Enhancement', 'Restoration' ],
8 => ['Arcane', 'Fire', 'Frost' ],
9 => ['Affliction', 'Demonology', 'Destruction' ],
11 => ['Balance', 'Feral Combat', 'Restoration' ]
),
'pvpRank' => array( // PVP_RANK_\d_\d(_FEMALE)?
null, "Private / Scout", "Corporal / Grunt",
"Sergeant / Sergeant", "Master Sergeant / Senior Sergeant", "Sergeant Major / First Sergeant",

View File

@@ -52,8 +52,11 @@ $lang = array(
'or' => " o ",
'back' => "Atrás",
'reputationTip' => "Puntos de reputación",
'byUserTimeAgo' => 'Por <a href="'.HOST_URL.'/?user=%s">%1$s</a> hace %s',
'byUser' => 'Por <a href="'.HOST_URL.'/?user=%1$s"%2$s>%1$s</a> ',
'help' => "Ayuda",
'status' => "Estado",
'yes' => "",
'no' => "No",
// filter
'extSearch' => "Extender búsqueda",
@@ -80,6 +83,10 @@ $lang = array(
'compare' => "Comparar",
'view3D' => "Ver en 3D",
'findUpgrades' => "Buscar mejoras…",
'report' => "Reportar",
'writeGuide' => "Crear Nueva Guía",
'edit' => "Editar",
'changelog' => 'Changelog',
// misc Tools
'errPageTitle' => "Página no encontrada",
@@ -120,7 +127,8 @@ $lang = array(
// formating
'colon' => ': ',
'dateFmtShort' => "d/m/Y",
'dateFmtLong' => "d/m/Y \a \l\a\s H:i",
'dateFmtLong' => "d/m/Y \a \l\a\s H:i A",
'timeAgo' => 'hace %s',
// error
'intError' => "Un error interno ha ocurrido.",
@@ -150,6 +158,63 @@ $lang = array(
)
)
),
'guide' => array(
'guide' => "Guía",
'guides' => "Guías",
'myGuides' => "Mis Guías",
'editTitle' => "Editar tu Guía",
'newTitle' => "Crear Nueva Guía",
'author' => "Autor",
'spec' => "Especialización",
'sticky' => "Estado Fijo",
'views' => "Visto",
'patch' => "Parche",
'added' => "Añadido",
'rating' => "Valoración",
'votes' => "[span id=guiderating-value]%d[/span]/5 ([span id=guiderating-votes][n5=%d][/span] Votos) [span id=guiderating][/span]",
'noVotes' => "necesita votaciones más [span id=guiderating][/span]",
'byAuthor' => "Por %s",
'notFound' => "Este/a guía no existe.",
'clTitle' => 'Historial de cambios para "<a href="?guide=%1$d">%2$s</a>"',
'clStatusSet' => 'Estado cambiado a %s',
'clCreated' => 'Creado',
'clMinorEdit' => 'Modificación menor',
'editor' => array(
'fullTitle' => 'Full Title',
'fullTitleTip' => 'The full guide title will be used on the guide page and may include SEO-oriented phrasing.',
'name' => 'Nombre',
'nameTip' => 'This should be a simple and clear name of what the guide is, for use in places like menus and guide lists.',
'description' => 'Descripción',
'descriptionTip' => 'Descripción empleada para los motores de búsqueda.&lt;br /&gt;&lt;br /&gt;Si se deja vacío, será generada automáticamente.',
// 'commentEmail' => 'Enviar comentarios por email',
// 'commentEmailTip' => '¿El autor debería ser notificado por correo cuando un usuario escriba comentarios en esta guía?',
'changelog' => 'Historial de cambios para esta modifiación',
'changelogTip' => 'Historial de cambios para esta modifiación',
'save' => 'Guardar',
'submit' => 'Enviar para revisión',
'autoupdate' => 'Actualización automática',
'showAdjPrev' => 'Mostrar vista previa adyacente',
'preview' => 'Visualizar',
'class-spec' => 'Clase / Spec',
'category' => 'Categoría',
'testGuide' => 'Mira el aspecto de tu guía.',
'images' => 'Imágenes',
'statusTip' => array(
GUIDE_STATUS_DRAFT => 'Tu guía está en estado &quot;borrador&quot; y solo tú puedes verla. Tienes todo el tiempo del mundo para editarla y, cuando creas que ya está lista, envíala para su revisión.',
GUIDE_STATUS_REVIEW => 'Your guide is being reviewed.',
GUIDE_STATUS_APPROVED => 'Your guide has been published.',
GUIDE_STATUS_REJECTED => 'Your guide has been rejected. After it\'s shortcomings have been remedied you may resubmit it for review.',
GUIDE_STATUS_ARCHIVED => 'Your guide is outdated and has been archived. Is will no longer be listed and can\'t be edited.',
)
),
'category' => array(
null, "Clases", "Profesiones", "Eventos del mundo", "Nuevos Jugadores y Leveling",
"Combates de Bandas y Jefes", "Economía y Dinero", "Logros", "Objetos de vanidad, Mascotas y Monturas", "Otros"
),
'status' => array(
null, "Borrador", "Esperando aprobación", "Aprobado", "Rechazado", "Archivada"
)
),
'profiler' => array(
'realm' => "Reino",
'region' => "Región",
@@ -344,6 +409,20 @@ $lang = array(
38 => "Quimera", 39 => "Demosaurio", 41 => "Silítido", 42 => "Gusano", 43 => "Rinoceronte", 44 => "Avispa",
45 => "Can del Núcleo", 46 => "Bestia espíritu"
),
'classSpecs' => array(
-1 => 'Sin talentos',
0 => 'Híbrido',
6 => ['Sangre', 'Escarcha', 'Profano' ],
11 => ['Equilibrio', 'Combate feral', 'Restauración' ],
3 => ['Dominio de bestias', 'Puntería', 'Supervivencia'],
8 => ['Arcano', 'Fuego', 'Escarcha' ],
2 => ['Sagrado', 'Protección', 'Reprensión' ],
5 => ['Disciplina', 'Sagrado', 'Magia sombría'],
4 => ['Asesinato', 'Combate', 'Sutileza' ],
7 => ['Combate elemental', 'Mejora', 'Restauración' ],
9 => ['Aflicción', 'Demonología', 'Destrucción' ],
1 => ['Armas', 'Furia', 'Protección' ]
),
'pvpRank' => array(
null, "Soldado / Explorador", "Cabo / Bruto",
"Sargento / Sargento", "Sargento maestro / Sargento jefe", "Sargento mayor / Sargento primero",

View File

@@ -52,8 +52,11 @@ $lang = array(
'or' => " ou ",
'back' => "Redro",
'reputationTip' => "Points de réputation",
'byUserTimeAgo' => 'Par <a href="'.HOST_URL.'/?user=%s">%1$s</a> il y a %s',
'byUser' => 'Par <a href="'.HOST_URL.'/?user=%1$s"%2$s>%1$s</a> ',
'help' => "Aide",
'status' => "Statut",
'yes' => "Oui",
'no' => "Non",
// filter
'extSearch' => "Recherche avancée",
@@ -80,6 +83,10 @@ $lang = array(
'compare' => "Comparer",
'view3D' => "Voir en 3D",
'findUpgrades' => "Trouver des améliorations…",
'report' => "Signaler",
'writeGuide' => "Créer un nouveau Guide",
'edit' => "Édition",
'changelog' => 'Journal des changements',
// misc Tools
'errPageTitle' => "Page non trouvée",
@@ -120,7 +127,8 @@ $lang = array(
// formating
'colon' => ' : ',
'dateFmtShort' => "Y-m-d",
'dateFmtLong' => "Y-m-d à H:i",
'dateFmtLong' => "Y-m-d à H:i A",
'timeAgo' => 'il y a %s',
// error
'intError' => "[An internal error occured.]",
@@ -150,6 +158,63 @@ $lang = array(
)
)
),
'guide' => array(
'guide' => "Guide",
'guides' => "Guides",
'myGuides' => "Mes guides",
'editTitle' => "Editez votre Guide",
'newTitle' => "Créer un nouveau Guide",
'author' => "Auteur",
'spec' => "Spécialisation",
'sticky' => "Statut coller",
'views' => "Vues",
'patch' => "Patch",
'added' => "Ajouté",
'rating' => "Note",
'votes' => "[span id=guiderating-value]%d[/span]/5 ([span id=guiderating-votes][n5=%d][/span] Votes) [span id=guiderating][/span]",
'noVotes' => "pas assez de votes [span id=guiderating][/span]",
'byAuthor' => "Par %s",
'notFound' => "Ce guide n'existe pas.",
'clTitle' => 'Journal des changements pour "<a href="?guide=%1$d">%2$s</a>"',
'clStatusSet' => 'Statut défini comme %s',
'clCreated' => 'Créé',
'clMinorEdit' => 'Modification mineure',
'editor' => array(
'fullTitle' => 'Titre complet',
'fullTitleTip' => 'Le titre complet du guide sera utilisé sur la page du guide et peut contenir des éléments destinés aux moteurs de recherche.',
'name' => 'Nom',
'nameTip' => 'Ceci devrait être un nom clair et concis de ce en quoi consiste le guide, qui sera affiché dans les menus et listes de guides.',
'description' => 'Description',
'descriptionTip' => 'Description qui sera utilisée par les moteurs de recherche.&lt;br /&gt;&lt;br /&gt;S&apos;il est laissé vide, le résumé sera généré automatiquement.',
// 'commentEmail' => 'Recevoir les commentaires par courriel',
// 'commentEmailTip' => 'L&apos;auteur doit-il recevoir un courriel chaque fois qu&apos;un utilisateur commente ce guide ?',
'changelog' => 'Journal des changements pour cette modification',
'changelogTip' => 'Entrez votre journal de modifications pour cette mise à jour ici.',
'save' => 'Sauver',
'submit' => 'Soumettre pour examen',
'autoupdate' => 'Mise à jour automatique',
'showAdjPrev' => 'Show adjacent preview',
'preview' => 'Aperçu',
'class-spec' => 'Classe / Spé',
'category' => 'Catégorie',
'testGuide' => 'Ayez un aperçu de votre guide',
'images' => 'Images',
'statusTip' => array(
GUIDE_STATUS_DRAFT => 'Votre guide est en statut &quot;Brouillon&quot; et vous êtes le seul à pouvoir le lire. Continuez de l&apos;écrire comme vous le voulez, et quand vous sentez qu&apos;il est prêt, soumettez-le pour approbation.',
GUIDE_STATUS_REVIEW => 'Your guide is being reviewed.',
GUIDE_STATUS_APPROVED => 'Your guide has been published.',
GUIDE_STATUS_REJECTED => 'Your guide has been rejected. After it\'s shortcomings have been remedied you may resubmit it for review.',
GUIDE_STATUS_ARCHIVED => 'Your guide is outdated and has been archived. Is will no longer be listed and can\'t be edited.',
)
),
'category' => array(
null, "Classes", "Métiers", "Évènements mondiaux", "Nouveaux Joueurs & Montée en niveau",
"Raids & Combats contre des boss","Economie et Argent", "Hauts faits", "Objets tape-à-l'oeil, Compagnons et Montures","Autre"
),
'status' => array(
null, "Brouillon", "Attente d'approbation", "Approuvé", "Rejeter", "Archivé"
)
),
'profiler' => array(
'realm' => "Royaume",
'region' => "Région",
@@ -344,6 +409,20 @@ $lang = array(
38 => "Chimère", 39 => "Diablosaure", 41 => "Silithide", 42 => "Ver", 43 => "Rhinocéros", 44 => "Guêpe",
45 => "Chien du Magma", 46 => "Esprit de bête"
),
'classSpecs' => array(
-1 => 'Sans talent',
0 => 'Hybride',
6 => ['Sang', 'Givre', 'Impie' ],
11 => ['Equilibre', 'Combat farouche', 'Restauration' ],
3 => ['Maîtrise des bêtes', 'Précision', 'Survie' ],
8 => ['Arcanes', 'Feu', 'Givre' ],
2 => ['Sacré', 'Protection', 'Vindicte' ],
5 => ['Discipline', 'Sacré', 'Magie de l\'ombre'],
4 => ['Assassinat', 'Combat', 'Finesse' ],
7 => ['Combat élémentaire', 'Amélioration', 'Restauration' ],
9 => ['Affliction', 'Démonologie', 'Destruction' ],
1 => ['Armes', 'Fureur', 'Protection' ]
),
'pvpRank' => array(
null, "Private / Scout", "Corporal / Grunt",
"Sergeant / Sergeant", "Master Sergeant / Senior Sergeant", "Sergeant Major / First Sergeant",

View File

@@ -52,8 +52,11 @@ $lang = array(
'or' => " или ",
'back' => "Назад",
'reputationTip' => "Очки репутации",
'byUserTimeAgo' => 'От <a href="'.HOST_URL.'/?user=%s">%1s</a> %s назад',
'byUser' => 'От <a href="'.HOST_URL.'/?user=%1$s"%2$s>%1s</a> ',
'help' => "Справка",
'status' => "Статус",
'yes' => "Да",
'no' => "Нет",
// filter
'extSearch' => "Расширенный поиск",
@@ -80,6 +83,10 @@ $lang = array(
'compare' => "Сравнить",
'view3D' => "Посмотреть в 3D",
'findUpgrades' => "Найти лучше…",
'report' => "Жалоба",
'writeGuide' => "Написать новое руководство",
'edit' => "Редактировать",
'changelog' => 'История изменений',
// misc Tools
'errPageTitle' => "Страница не найдена",
@@ -120,7 +127,8 @@ $lang = array(
// formating
'colon' => ": ",
'dateFmtShort' => "Y-m-d",
'dateFmtLong' => "Y-m-d в H:i",
'dateFmtLong' => "Y-m-d в H:i A",
'timeAgo' => '%s назад',
// error
'intError' => "[An internal error occured.]",
@@ -150,6 +158,63 @@ $lang = array(
)
)
),
'guide' => array(
'guide' => "Руководство",
'guides' => "Руководство",
'myGuides' => "Мои руководства",
'editTitle' => "Редактировать руководство",
'newTitle' => "Написать новое руководство",
'author' => "Автор",
'spec' => "Спек",
'sticky' => "Закрепленный",
'views' => "Просмотры",
'patch' => "Обновление",
'added' => "Добавлено",
'rating' => "Рейтинг",
'votes' => "[span id=guiderating-value]%d[/span]/5 ([span id=guiderating-votes][n5=%d][/span] проголосовало) [span id=guiderating][/span]",
'noVotes' => "недостаточно голосов [span id=guiderating][/span]",
'byAuthor' => "От %s",
'notFound' => "Такого руководство не существует.",
'clTitle' => 'История изменений «<a href="?guide=%1$d">%2$s</a>»',
'clStatusSet' => 'Присвоен статус «%s»',
'clCreated' => 'Создано',
'clMinorEdit' => 'Небольшое изменение',
'editor' => array(
'fullTitle' => 'Полный заголовок',
'fullTitleTip' => 'Укажите полное название руководства. Оно будет использоваться в качестве заголовка. Допустимо использование ключевых слов.',
'name' => 'Имя',
'nameTip' => 'Укажите краткое и понятное название руководства. Оно будет использоватья в меню и перечнях руководств.',
'description' => 'Описание',
'descriptionTip' => 'Описание для поисковых систем.&lt;br&gt;&lt;br&gt;Если поле будет оставлено пустым, то сайт сгенерирует описание автоматически.',
// 'commentEmail' => 'E-mail уведомления',
// 'commentEmailTip' => 'Должен ли автор руководства получать e-mail оповещения, когда к руководству оставляют комментарий?',
'changelog' => 'История изменений, внесенных этой правкой',
'changelogTip' => 'Введите вашу историю изменений для текущего патча здесь.',
'save' => 'Сохранить',
'submit' => 'Отправить на одобрение',
'autoupdate' => 'Автообновление',
'showAdjPrev' => 'Открыть окно предварительного просмотра',
'preview' => 'Предварительный просмотр',
'class-spec' => 'Класс / Спек',
'category' => 'Category',
'testGuide' => 'Посмотрите, как будет выглядеть руководство',
'images' => 'Images',
'statusTip' => array(
GUIDE_STATUS_DRAFT => 'Руководство сохранено как &quot;Черновик&quot; — видеть его можете только вы. Правьте руководство так долго, как сочтете нужным, а когда решите, что оно готово — отправьте на одобрение.',
GUIDE_STATUS_REVIEW => 'Your guide is being reviewed.',
GUIDE_STATUS_APPROVED => 'Your guide has been published.',
GUIDE_STATUS_REJECTED => 'Your guide has been rejected. After it\'s shortcomings have been remedied you may resubmit it for review.',
GUIDE_STATUS_ARCHIVED => 'Your guide is outdated and has been archived. Is will no longer be listed and can\'t be edited.',
)
),
'category' => array(
null, "Классы", "Профессии", "Игровые события", "Новые игроки",
"Подземелья и рейды", "Экономика и деньги", "Достижения", "Забавные предметы", "Разное"
),
'status' => array(
null, "Черновик", "Ожидание проверки", "Принято", "Отклонено", "Архивирован"
)
),
'profiler' => array(
'realm' => "Игровой мир",
'region' => "Регион",
@@ -344,6 +409,20 @@ $lang = array(
38 => "Химера", 39 => "Дьявозавр", 41 => "Силитид", 42 => "Червь", 43 => "Люторог", 44 => "Оса",
45 => "Гончая Недр", 46 => "Дух зверя"
),
'classSpecs' => array(
-1 => 'Нет талантов',
0 => 'Гибрид',
6 => ['Кровь', 'Лед', 'Нечестивость'],
11 => ['Баланс', 'Сила зверя', 'Исцеление' ],
3 => ['Повелитель зверей', 'Стрельба', 'Выживание' ],
8 => ['Тайная магия', 'Огонь', 'Лед' ],
2 => ['Свет', 'Защита', 'Воздаяние' ],
5 => ['Послушание', 'Свет', 'Темная магия'],
4 => ['Ликвидация', 'Бой', 'Скрытность' ],
7 => ['Стихии', 'Совершенствование', 'Исцеление' ],
9 => ['Колдовство', 'Демонология', 'Разрушение' ],
1 => ['Оружие', 'Неистовство', 'Защита' ]
),
'pvpRank' => array(
null, "Private / Scout", "Corporal / Grunt",
"Sergeant / Sergeant", "Master Sergeant / Senior Sergeant", "Sergeant Major / First Sergeant",

View File

@@ -52,8 +52,11 @@ $lang = array(
'or' => "",
'back' => "返回",
'reputationTip' => "声望点数",
'byUserTimeAgo' => '由<a href="'.HOST_URL.'/?user=%s">%1$s</a>%s之前',
'byUser' => '由<a href="'.HOST_URL.'/?user=%1$s"%2$s>%1$s</a>',
'help' => "帮助",
'status' => "状态",
'yes' => "",
'no' => "",
// filter
'extSearch' => "扩展搜索",
@@ -80,6 +83,10 @@ $lang = array(
'compare' => "比较",
'view3D' => "3D查看",
'findUpgrades' => "查找升级…",
'report' => "报告",
'writeGuide' => "创建新指南",
'edit' => "编辑",
'changelog' => '[Changelog]',
// misc Tools
'errPageTitle' => "页面未找到",
@@ -120,7 +127,8 @@ $lang = array(
// formating
'colon' => '',
'dateFmtShort' => "Y/m/d",
'dateFmtLong' => "Y/m/d \a\\t H:i",
'dateFmtLong' => "Y/m/d \a\\t H:i A",
'timeAgo' => '%s之前',
// error
'intError' => "发生内部错误。",
@@ -150,6 +158,63 @@ $lang = array(
)
)
),
'guide' => array(
'guide' => "指南",
'guides' => "指南",
'myGuides' => "我的指南",
'editTitle' => "编辑你的指南",
'newTitle' => "创建新指南",
'author' => "作者",
'spec' => "专精",
'sticky' => "置顶状态",
'views' => "浏览量",
'patch' => "补丁",
'added' => "已添加",
'rating' => "评分",
'votes' => "[span id=guiderating-value]%d[/span]/5 [span id=guiderating-votes][n5=%d][/span] 投票)[span id=guiderating][/span]",
'noVotes' => "[not enough votes] [span id=guiderating][/span]",
'byAuthor' => "来自 %s",
'notFound' => "[This 指南 doesn't exist.]",
'clTitle' => '[Changelog For] "<a href="?guide=%1$d">%2$s</a>"',
'clStatusSet' => '[Status set to] %s',
'clCreated' => '已创建',
'clMinorEdit' => '[Minor Edit]',
'editor' => array(
'fullTitle' => '完整标题',
'fullTitleTip' => '[The full guide title will be used on the guide page and may include SEO-oriented phrasing.]',
'name' => '名称',
'nameTip' => '[This should be a simple and clear name of what the guide is, for use in places like menus and guide lists.]',
'description' => '描述',
'descriptionTip' => '描述将用于说明片段&lt;br /&gt;&lt;br /&gt;如果不填,则自动生成。',
// 'commentEmail' => 'Comment Emails',
// 'commentEmailTip' => 'Should the author get emailed whenever a user comments on this guide?',
'changelog' => '当前编辑的修改日志',
'changelogTip' => '[Enter your changelog for this update here.]',
'save' => '保存',
'submit' => '提交以供审核',
'autoupdate' => '预览',
'showAdjPrev' => '显示相邻预览',
'preview' => '自动更新',
'class-spec' => '职业 / 专精',
'category' => '分类',
'testGuide' => '自我浏览你的指南',
'images' => '图片',
'statusTip' => array(
GUIDE_STATUS_DRAFT => '你的指南目前是草稿状态,只有你自己可见。试着输入更多的文字,当你觉得可以了的时候就提交送审吧。',
GUIDE_STATUS_REVIEW => '[Your guide is being reviewed.]',
GUIDE_STATUS_APPROVED => '[Your guide has been published.]',
GUIDE_STATUS_REJECTED => '[Your guide has been rejected. After it\'s shortcomings have been remedied you may resubmit it for review.]',
GUIDE_STATUS_ARCHIVED => '[Your guide is outdated and has been archived. Is will no longer be listed and can\'t be edited.]',
)
),
'category' => array(
null, "职业", "专业", "世界事件", "新玩家",
"地下城与团队副本", "经济与金钱", "成就", "华丽收藏", "杂项"
),
'status' => array(
null, "草稿", "等待审批", "同意", "拒绝", "已归档"
)
),
'profiler' => array(
'realm' => "服务器",
'region' => "区域",
@@ -344,6 +409,20 @@ $lang = array(
38 => "奇美拉", 39 => "魔暴龙", 41 => "异种虫", 42 => "蠕虫", 43 => "犀牛", 44 => "巨蜂",
45 => "熔岩犬", 46 => "灵魂兽",
),
'classSpecs' => array(
-1 => '没有天赋',
0 => '混合',
6 => ['鲜血', '冰霜', '邪恶'],
11 => ['平衡', '野性战斗', '恢复'],
3 => ['野兽控制', '射击', '生存'],
8 => ['奥术', '火焰', '冰霜'],
2 => ['神圣', '防护', '惩戒'],
5 => ['戒律', '神圣', '暗影'],
4 => ['刺杀', '战斗', '敏锐'],
7 => ['元素', '增强', '恢复'],
9 => ['痛苦', '恶魔学识', '毁灭'],
1 => ['武器', '狂怒', '防护']
),
'pvpRank' => array(
null, "下士 / 斥候", "下士 / 步兵",
"中士 / 中士", "军士长 / 高阶军士", "士官长 / 一等军士长",