Skip to content

Commit

Permalink
Minor changes to language files
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePix committed Apr 4, 2018
1 parent de6a41b commit 391b9e6
Show file tree
Hide file tree
Showing 24 changed files with 824 additions and 640 deletions.
4 changes: 2 additions & 2 deletions Editor/LoadingControl.resx
Expand Up @@ -232,7 +232,7 @@
<value>13</value>
</data>
<data name="Label1.Text" xml:space="preserve">
<value>Editor is loading...</value>
<value>Editor loading</value>
</data>
<data name="Label1.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>TopCenter</value>
Expand Down Expand Up @@ -268,7 +268,7 @@
<value>14</value>
</data>
<data name="Label2.Text" xml:space="preserve">
<value>Soon it will start.</value>
<value>We'll just be a moment...</value>
</data>
<data name="Label2.TextAlign" type="System.Drawing.ContentAlignment, System.Drawing">
<value>TopCenter</value>
Expand Down
2 changes: 1 addition & 1 deletion EditorController/Properties/AssemblyInfo.cs
Expand Up @@ -32,4 +32,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]
2 changes: 1 addition & 1 deletion EditorControllerTests/Properties/AssemblyInfo.cs
Expand Up @@ -31,4 +31,4 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]
2 changes: 1 addition & 1 deletion IASL/Properties/AssemblyInfo.cs
Expand Up @@ -32,4 +32,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]
2 changes: 1 addition & 1 deletion JawsApi/Properties/AssemblyInfo.cs
Expand Up @@ -32,4 +32,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]
2 changes: 1 addition & 1 deletion LegacyASLTests/Properties/AssemblyInfo.cs
Expand Up @@ -31,4 +31,4 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]
2 changes: 1 addition & 1 deletion PlayerController/Properties/AssemblyInfo.cs
Expand Up @@ -32,4 +32,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]
2 changes: 1 addition & 1 deletion Utility/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]

2 changes: 1 addition & 1 deletion WebEditor/WebEditor/Properties/AssemblyInfo.cs
Expand Up @@ -31,4 +31,4 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]
2 changes: 1 addition & 1 deletion WebPlayer/Properties/AssemblyInfo.cs
Expand Up @@ -31,4 +31,4 @@
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]
5 changes: 0 additions & 5 deletions WebPlayer/grid.js
Expand Up @@ -61,11 +61,6 @@ function onMouseDrag(event) {
updateOffset(event.delta);
}

var _respondToGridClicks = false;

function respondToGridClicks(flag) {
_respondToGridClicks = flag;
}

function onMouseUp(event) {
if (_respondToGridClicks) {
Expand Down
10 changes: 9 additions & 1 deletion WebPlayer/playercore.js
Expand Up @@ -484,6 +484,14 @@ function updateLocation(text) {
$("#location").html(text);
}


// Used in grid.js, but defined here so it can be set during startup
_respondToGridClicks = false;

function respondToGridClicks(flag) {
_respondToGridClicks = flag;
}

function updateList(listName, listData) {
var listElement = "";
var buttonPrefix = "";
Expand Down Expand Up @@ -647,7 +655,7 @@ function setCurrentDiv(div) {
$("#outputData").attr("data-currentdiv", div);
}

var _divCount = -1;
var _divCount = -1;

function getDivCount() {
if (_divCount < 1) {
Expand Down
719 changes: 360 additions & 359 deletions WorldModel/WorldModel/Core/Languages/Dansk.aslx

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion WorldModel/WorldModel/Core/Languages/Deutsch.aslx
Expand Up @@ -8,6 +8,10 @@

<template name="LanguageId">de</template>

<template name="Again1">Wiederholen</template>
<template name="Again2">g</template>
<template name="NothingToRepeat">Es gibt nichts zu wiederholen.</template>

<dynamictemplate name="ObjectCannotBeStored">"Du kannst das dort nicht hineinlegen."</dynamictemplate>
<template name="UnresolvedObject">Ich kann das hier nicht sehen.</template>
<template name="UnresolvedLocation">Du kannst nicht dahin gehen.</template>
Expand Down Expand Up @@ -109,6 +113,7 @@
<dynamictemplate name="Eaten">"Du isst " + object.article + "."</dynamictemplate>
<template name="DefaultOops">Da gibt es nichts zu korrigieren.</template>
<dynamictemplate name="ObjectDoesNotContain">CapFirst(GetDisplayAlias(object1)) + " enthält " + " " + GetPrefix (object2,"kein") + " " + GetDisplayAlias(object2) + "."</dynamictemplate>
<dynamictemplate name="DefaultTellTo">WriteVerb(object, "do") + " nichts."</dynamictemplate>

<dynamictemplate name="YouLooking">"Du schaust nach " + text +"."</dynamictemplate>
<dynamictemplate name="LookAtDarkness">"Es ist zu dunkel, um etwas zu erkennen."</dynamictemplate>
Expand All @@ -122,6 +127,12 @@
<template name="No">Nein</template>
<template name="By">von</template>

<template name="NothingToTake">Hier gibt es nichts zum nehmen.</template>
<template name="NothingToDrop">Sie besitzen nichts zum ablegen.</template>
<template name="NothingToWear">Sie besitzen nichts zum anziehen.</template>
<template name="NothingToRemove">Sie besitzen nichts zum ausziehen.</template>
<dynamictemplate name="ObjectCannotBeStored">"Sie können " + object.article + " dort nicht ablegen."</dynamictemplate>

<dynamictemplate name="WearSuccessful">"Du ziehst " + object.article + " an."</dynamictemplate>
<dynamictemplate name="WearUnsuccessful">"Du kannst " + object.article + " nicht anziehen."</dynamictemplate>
<dynamictemplate name="CannotWearIfNotHeld">"Du musst " + object.article + " erst haben bevor du " + object.article + " anziehen kannst."</dynamictemplate>
Expand Down Expand Up @@ -189,7 +200,9 @@
<template name="TypeHereLabel">Schreibe hier...</template>
<template name="ContinueLabel">Weiter...</template>

<template templatetype="command" name="go"><![CDATA[^gehe nach (?<exit>.*)$|^gehe (?<exit>.*)$|^nach (?<exit>.*)$|^(?<exit>norden|osten|süden|westen|nordosten|nordwesten|südosten|südwesten|raus|hoch|runter|rein|raus|n|o|s|w|no|nw|so|sw|h|r)$]]></template>

<template templatetype="command" name="tellto"><![CDATA[^(erzähle|frage) (?<Objekt>.*) (von|nach) (?<Text>.*)$]]></template>
<template templatetype="command" name="alttellto"><![CDATA[^(?<Objekt>.*), (?<Text>.*)$]]></template> <template templatetype="command" name="go"><![CDATA[^gehe nach (?<exit>.*)$|^gehe (?<exit>.*)$|^nach (?<exit>.*)$|^(?<exit>norden|osten|süden|westen|nordosten|nordwesten|südosten|südwesten|raus|hoch|runter|rein|raus|n|o|s|w|no|nw|so|sw|h|r)$]]></template>
<template templatetype="command" name="lookdir"><![CDATA[^(schau|schaue|schau nach|schaue nach) (?<exit>norden|osten|süden|westen|nordosten|nordwesten|südosten|südwesten|raus|hoch|runter|rein|raus|n|o|s|w|no|nw|so|sw|h|r)$]]></template>
<template templatetype="command" name="look">^schau$|^schaue$</template>
<verbtemplate name="lookat">untersuche</verbtemplate>
Expand Down
1 change: 1 addition & 0 deletions WorldModel/WorldModel/Core/Languages/EditorDeutsch.aslx
Expand Up @@ -489,6 +489,7 @@
<template name="EditorScriptsDrawingDrawSquarewidth">Breite</template>
<template name="EditorScriptsDrawingDrawSquareheight">Höhe</template>
<template name="EditorScriptsDrawingDrawSquareLabel">Beschriftung</template>
<template name="EditorGameRespondtogridclicks">Soll die Map auf Klicks reagieren?</template>
<template name="EditorScriptsDrawingAddcustomshape">Füge benutzerdefinierten Formpunkt hinzu</template>
<template name="EditorScriptsDrawingAddNewShapePointAtX">Füge benutzerdefinierten Formpunkt hinzu bei X</template>
<template name="EditorScriptsDrawingAddNewShapePointAtY">, Y</template>
Expand Down
1 change: 1 addition & 0 deletions WorldModel/WorldModel/Core/Languages/English.aslx
Expand Up @@ -315,6 +315,7 @@
<template name="DefaultXyzzy">Surprisingly, absolutely nothing happens.</template>
<template templatetype="command" name="help">^help$|^\?$</template>
<template templatetype="command" name="save">^save$</template>
<dynamictemplate name="DefaultTellTo">WriteVerb(object, "do") + " nothing."</dynamictemplate>

<template name="DefaultHelp"><![CDATA[<u>Quick Help</u><br/><br/>
<b>- Objects:</b> Try LOOK AT..., SPEAK TO..., TAKE..., DROP..., OPEN..., GIVE... TO..., USE... ON/WITH...<br/>
Expand Down
60 changes: 40 additions & 20 deletions WorldModel/WorldModel/Core/Languages/Greek.aslx
@@ -1,13 +1,25 @@
<library>
<!-- Contributed by Thanos Chrysos, Dec 11,2017-->

<!-- Σημειώσεις: Τα scripts, π.χ. create exit, δεν δουλεύουν με ελληνικά ονόματα δωματίων. -->
<!-- Contributed by Thanos Chrysos, Dec 11,2017-->

<!-- Σημειώσεις: Τα αντικείμενα, δωμάτια κλπ δεν δουλεύουν με ελληνικά ονόματα.
Θα πρέπει να δώσεις Αγγλικό όνομα (πχ petra), και να φτιάξεις ελληνικό alias (πχ πέτρα).
Το ίδιο πρέπει να γίνεται στις εντολές: put, ask, κλπ: Θα πρέπει το ρήμα να εισάγεται στην Αγγλική
στο αντικείμενο που το αφορά, και κατόπιν να διορθώνεται το Pattern του στην καρτέλα Verbs, π.χ. σε "τοποθέτησε".
Όταν φτιάχνεις ένα δωμάτιο γένους θηλυκού, θα πρέπει στα attributes να δίνεις Inherited Type: female
Τα δωμάτια πρέπει να δίνονται στην Αιτιατική, π.χ. Φούρνο, και όχι Φούρνος
ΤΟDO: Να μπουν τα ρήματα χωρίς τόνο ως alias, π.χ. παρε, πετα, ...
-->

<include ref="English.aslx"/>
<include ref="EditorEnglish.aslx"/>
<!-- Get any undefined templates from the English library -->

<template name="LanguageId">el</template>
<template name="Again1">ξανά</template>
<template name="Again2">ξ</template>
<template name="NothingToRepeat">Δεν υπάρχει κάτι να ξανακάνω.</template>

<template name="UnresolvedObject">Δεν βλέπω κάτι τέτοιο.</template>
<template name="UnresolvedLocation">Δεν μπορείς να πας προς τα εκεί.</template>
Expand All @@ -34,18 +46,18 @@
<dynamictemplate name="DefaultSpeakTo">"Δεν μπορείς να σκεφτείς κάτι για να πεις."</dynamictemplate>
<template name="UnrecognisedCommand">Δεν καταλαβαίνω την εντολή σου.</template>
<template name="YouAreIn">Βρίσκεσαι σε</template>
<template name="LookAt">Εξέτασε</template>
<template name="Take">Πάρε</template>
<template name="SpeakTo">Μίλα</template>
<template name="Use">Χρησιμοποίησε</template>
<template name="Drop">Ρίξε</template>
<template name="GoTo">Πήγαινε</template>
<template name="Go">Πήγαινε</template>
<template name="SwitchOn">Ενεργοποίησε</template>
<template name="SwitchOff">Απενεργοποίησε</template>
<template name="Open">Άνοιξε</template>
<template name="Close">Κλείσε</template>
<template name="Eat">Φάε</template>
<template name="LookAt">εξέτασε</template>
<template name="Take">πάρε</template>
<template name="SpeakTo">μίλα</template>
<template name="Use">χρησιμοποίησε</template>
<template name="Drop">ρίξε</template>
<template name="GoTo">πήγαινε</template>
<template name="Go">πήγαινε</template>
<template name="SwitchOn">ενεργοποίησε</template>
<template name="SwitchOff">απενεργοποίησε</template>
<template name="Open">άνοιξε</template>
<template name="Close">κλείσε</template>
<template name="Eat">φάε</template>
<dynamictemplate name="ObjectNotOpen">CapFirst(object.article)+ " " + object.name + " δεν " + WriteVerb(object, "είμαι") + " ανοιχτ" + GetSuffix(object) + "."</dynamictemplate>
<template name="NeutralGender">το</template>
<template name="MaleGender">ο</template>
Expand All @@ -65,16 +77,17 @@
<template name="MalePossessive">του</template>
<template name="FemalePossessive">της</template>
<template name="SelfPossessive">σου</template>
<template name="NeutralPluralPossessive">τους</template>
<template name="MalePluralPossessive">τους</template>
<template name="FemalePluralPossessive">τους</template>
<template name="NeutralPluralPossessive">των</template>
<template name="MalePluralPossessive">των</template>
<template name="FemalePluralPossessive">των</template>
<template name="SelfAlias">εγώ</template>
<template name="SelfAlt">εγώ; ο ίδιος</template>
<template name="AllObjects">όλα; τα πάντα</template>
<template name="Nothing">τίποτα</template>
<template name="ParserIgnorePrefixes">το; τα; ένα; την; τον; έναν; μία</template>
<template name="Health">Υγεία</template>
<template name="Money">Χρήματα</template>
<template name="Score">Σκορ</template>
<dynamictemplate name="AlreadyOpen">CapFirst(object.article)+ " " + object.name + " " + WriteVerb(object, "είμαι") + " ήδη ανοιχτ" + GetSuffix(object) + "."</dynamictemplate>
<dynamictemplate name="AlreadyClosed">CapFirst(object.article)+ " " + object.name + " " + WriteVerb(object, "είμαι") + " ήδη κλειστ" + GetSuffix(object) + "."</dynamictemplate>
<dynamictemplate name="CantOpen">"Δεν μπορείς να " + object.gender + " ανοίξεις."</dynamictemplate>
Expand Down Expand Up @@ -117,7 +130,13 @@
<template name="NoObjectsAvailable">Δεν υπάρχουν αντικείμενα με τα οποία μπορείς να το κάνεις αυτό.</template>
<template name="Yes">Ναι</template>
<template name="No">Όχι</template>
<template name="By">με</template>
<template name="By">του</template> <!-- Χρησιμοποιείται στο όνομα του Συγγραφέα -->

<template name="NothingToTake">Δεν υπάρχει κάτι εδώ για να πάρεις.</template>
<template name="NothingToDrop">Δεν έχεις κάτι για να ρίξεις.</template>
<template name="NothingToWear">Δεν έχεις κάτι για να φορέσεις.</template>
<template name="NothingToRemove">Δεν έχεις κάτι για να βγάλεις.</template>
<dynamictemplate name="ObjectCannotBeStored">"Δεν μπορείς να " + object.article + " βάλεις εκεί."</dynamictemplate>

<dynamictemplate name="WearSuccessful">CapFirst(object.gender) + " φοράς."</dynamictemplate>
<dynamictemplate name="WearUnsuccessful">"Δεν μπορείς να " + object.gender + " φορέσεις."</dynamictemplate>
Expand Down Expand Up @@ -193,14 +212,15 @@
<verbtemplate name="lookat">παρατήρησε</verbtemplate>
<verbtemplate name="lookat">κοίταξε</verbtemplate>
<verbtemplate name="lookat">δες</verbtemplate>
<verbtemplate name="lookat">κοίτα</verbtemplate>
<verbtemplate name="take">πάρε</verbtemplate>
<verbtemplate name="take">παίρνω</verbtemplate>
<verbtemplate name="take">σήκωσε</verbtemplate>
<template templatetype="command" name="undo">^αναίρεση$</template>
<template templatetype="command" name="inventory">^κατ$|^κατάλογος$</template>
<template templatetype="command" name="quit">^τέλος$</template>
<verbtemplate name="drop">άσε</verbtemplate>
<verbtemplate name="drop">άσφησε</verbtemplate>
<verbtemplate name="drop">άφησε</verbtemplate>
<verbtemplate name="drop">ρίξε</verbtemplate>
<verbtemplate name="use">χρησιμοποίησε</verbtemplate>
<verbtemplate name="speakto">μίλα με</verbtemplate>
Expand All @@ -215,7 +235,7 @@
<verbtemplate name="speakto">κουβέντιασε</verbtemplate>
<verbtemplate name="open">άνοιξε</verbtemplate>
<verbtemplate name="close">κλείσε</verbtemplate>
<template templatetype="command" name="put"><![CDATA[^τοποθέτησε (?<object1>.*) (στο|στην|στον) (?<object2>.*)$|^βάλε (?<object1>.*) (στο|στην|στον) (?<object2>.*)$]]></template>
<template templatetype="command" name="put"><![CDATA[^τοποθέτησε (?<object1>.*) (στο|στην|στον) (?<object2>.*)$]]></template>
<template templatetype="command" name="removefrom"><![CDATA[^βγάλε (?<object1>.*) από (?<object2>.*)$]]></template>
<template templatetype="command" name="ask"><![CDATA[^ρώτα (?<object>.*) για (?<text>.*)$]]></template>
<template templatetype="command" name="tell"><![CDATA[^πες (?<object>.*) για (?<text>.*)$]]></template>
Expand Down Expand Up @@ -305,7 +325,7 @@
<verbtemplate name="untie">ξέδεσε</verbtemplate>
<verbtemplate name="untie">ξέλυσε</verbtemplate>
<dynamictemplate name="DefaultUntie">"Δεν μπορείς να " + object.gender + " λύσεις."</dynamictemplate>
<template templatetype="command" name="useon"><![CDATA[^χρησιμοποίησε (?<object1>.*) (στο|στην|στο) (?<object2>.*)$]]></template>
<template templatetype="command" name="useon"><![CDATA[^χρησιμοποίησε (?<object1>.*) (στον|στην|στο) (?<object2>.*)$]]></template>
<dynamictemplate name="DefaultUseOn">"Δεν μπορείς να " + object2.gender + " χρησιμοποιήσεις έτσι."</dynamictemplate>
<verbtemplate name="wear">φόρα</verbtemplate>
<verbtemplate name="wear">φόρεσε</verbtemplate>
Expand Down
3 changes: 3 additions & 0 deletions WorldModel/WorldModel/Core/Languages/Italiano.aslx
Expand Up @@ -163,6 +163,9 @@ Feel free to let comments and tips on http://www.textadventures.co.uk/forum/view
<template name="CompassDirectionPrefix">a</template>
<template name="UpDownDirectionPrefix"></template>
<template name="InOutDirectionPrefix"></template>
<template name="CompassDirectionSuffix"></template>
<template name="UpDownDirectionSuffix"></template>
<template name="InOutDirectionSuffix"></template>
<template name="CompassNWShort">no</template>
<template name="CompassNShort">n</template>
<template name="CompassNEShort">ne</template>
Expand Down
2 changes: 1 addition & 1 deletion WorldModel/WorldModel/Properties/AssemblyInfo.cs
Expand Up @@ -32,6 +32,6 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]

[assembly: InternalsVisibleTo("WorldModelTests")]
8 changes: 7 additions & 1 deletion WorldModel/WorldModel/WorldModel.csproj
Expand Up @@ -365,7 +365,7 @@
<None Include="Core\Languages\EditorDeutsch.aslx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<SubType>Designer</SubType>
</None>
</None>
<None Include="Core\Languages\EditorEspanol.aslx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
Expand All @@ -379,6 +379,9 @@
<None Include="Core\Languages\Francais.aslx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Core\Languages\Greek.aslx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Core\Languages\Icelandic.aslx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<SubType>Designer</SubType>
Expand Down Expand Up @@ -436,6 +439,9 @@
<None Include="Core\Templates\Gamebook.template">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Core\Templates\Greek.template">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="Core\Templates\Icelandic.template">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
<SubType>Designer</SubType>
Expand Down
2 changes: 1 addition & 1 deletion WorldModelTests/Properties/AssemblyInfo.cs
Expand Up @@ -31,4 +31,4 @@
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("5.7.*")]
[assembly: AssemblyVersion("5.8.*")]

0 comments on commit 391b9e6

Please sign in to comment.