Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AGAGD updates #11

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions distribution/gothahelp/english/Publish tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ <h1 align="center">
<img src="images/publishtab.jpg">
</p>
<br><br>
<h2>Publish ... buttons<br>Print ... buttons</h2>
Data is automatically formatted according to what is specified in the Contents tab.
<br>Html files are locally stored in the <i>export/html</i> directory.
They are also optionaly exported to OpenGotha site.

<h2>Publish ... buttons<br>Print ... buttons</h2>
Data is automatically formatted according to what is specified in the Contents tab.
<br>Html files are locally stored in the <i>export/html</i> directory.
They are also optionaly exported to OpenGotha site.
<br>Html files are associated with a style sheet. A default style sheet is supplied : <i>current.css</i>. The user can supply his own style sheet.
<br>Character encoding is "UTF-8".

<h2>Export results for EGF rating-list</h2>
The generated file complies with the <a href="http://www.europeangodatabase.eu/EGD/EGF_rating_system.php#FORMAT">h9 format</a>.
<br>Spaces inside a player name or first name are replaced with "_"
Expand All @@ -29,15 +29,15 @@ <h2>Export results for FFG rating-list</h2>
<br> Total name + first name length is limited to 25
<br>Character encoding is "ISO-8859-15".
<h2>Export results for AGA rating-list</h2>
The generated file complies with the <a href="http://www.usgo.org/qualifications-rated-games">AGA standard ratings submission format</a>.
<br>For players without an AGA id, dummy AGA ids are generated in the "99xxx" range.
The generated file complies with the <a href="https://agagd.usgo.org/qualifications/">AGA standard ratings submission format</a>.
<br>For players without an AGA id, register for a new membership <a href="https://www.usgo.org/members">online</a>.
<br>Character encoding is "ISO-8859-15".
<h2>Export players in csv format</h2>
The generated file contains the players data.
<br><a href="http://en.wikipedia.org/wiki/Comma-separated_values">CSV format </a>is a commonly used format and is supported by most spreadsheets.
<br>Character encoding is "UTF-8".

<br><br>
<br><br>

</body>
</html>
</html>
20 changes: 10 additions & 10 deletions gothahelp/english/Publish tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ <h1 align="center">
<img src="images/publishtab.jpg">
</p>
<br><br>
<h2>Publish ... buttons<br>Print ... buttons</h2>
Data is automatically formatted according to what is specified in the Contents tab.
<br>Html files are locally stored in the <i>export/html</i> directory.
They are also optionaly exported to OpenGotha site.

<h2>Publish ... buttons<br>Print ... buttons</h2>
Data is automatically formatted according to what is specified in the Contents tab.
<br>Html files are locally stored in the <i>export/html</i> directory.
They are also optionaly exported to OpenGotha site.
<br>Html files are associated with a style sheet. A default style sheet is supplied : <i>current.css</i>. The user can supply his own style sheet.
<br>Character encoding is "UTF-8".

<h2>Export results for EGF rating-list</h2>
The generated file complies with the <a href="http://www.europeangodatabase.eu/EGD/EGF_rating_system.php#FORMAT">h9 format</a>.
<br>Spaces inside a player name or first name are replaced with "_"
Expand All @@ -29,15 +29,15 @@ <h2>Export results for FFG rating-list</h2>
<br> Total name + first name length is limited to 25
<br>Character encoding is "ISO-8859-15".
<h2>Export results for AGA rating-list</h2>
The generated file complies with the <a href="http://www.usgo.org/qualifications-rated-games">AGA standard ratings submission format</a>.
<br>For players without an AGA id, dummy AGA ids are generated in the "99xxx" range.
The generated file complies with the <a href="https://agagd.usgo.org/qualifications/">AGA standard ratings submission format</a>.
<br>For players without an AGA id, register for a new membership <a href="https://www.usgo.org/members">online</a>.
<br>Character encoding is "ISO-8859-15".
<h2>Export players in csv format</h2>
The generated file contains the players data.
<br><a href="http://en.wikipedia.org/wiki/Comma-separated_values">CSV format </a>is a commonly used format and is supported by most spreadsheets.
<br>Character encoding is "UTF-8".

<br><br>
<br><br>

</body>
</html>
</html>
1 change: 1 addition & 0 deletions src/info/vannier/gotha/ExternalDocument.java
Original file line number Diff line number Diff line change
Expand Up @@ -1793,6 +1793,7 @@ public static void generateAGAResultsFile(TournamentInterface tournament, File f
// Write General Tournament Info
try {
output.write("Tourney\t" + gps.getName() + ", " + gps.getLocation() + "\n");
output.write("location='" + gps.getLocation() + "'\n");
output.write("\tstart=" + new SimpleDateFormat("yyyy-MM-dd").format(gps.getBeginDate()) + "\n");
output.write("\tfinish=" + new SimpleDateFormat("yyyy-MM-dd").format(gps.getEndDate()) + "\n");
output.write("PLAYERS\n");
Expand Down
3 changes: 2 additions & 1 deletion src/info/vannier/gotha/JFrPublish.java
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,8 @@ private void btnExportRLAGAActionPerformed(java.awt.event.ActionEvent evt) {//GE
}
if (nbPWithoutId > 0) {
String strPrompt = "" + nbPWithoutId + " players have no AGA Id."
+ "\nOpenGotha will generate dummy AGA Ids in the \"99xxx\" range.";
+ "\nOpenGotha will generate dummy AGA Ids in the \"99xxx\" range."
+ "\nYou must have valid AGA memberships before it will be rated.";
int response = JOptionPane.showConfirmDialog(this, strPrompt, "Message", JOptionPane.OK_CANCEL_OPTION);

if (response == JOptionPane.CANCEL_OPTION) {
Expand Down