Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #825209 ยป 0060-Rename-comments.txt-as-comments-3.1.txt.patch

Marko Lindqvist, 2019-07-06 10:04 PM

View differences:

data/ruledit/Makefile.am
pkgdatadir = $(datadir)/$(PACKAGE)/ruledit
pkgdata_DATA = \
comments.txt
comments-3.1.txt
EXTRA_DIST = $(pkgdata_DATA)
meson.build
install_data(
'data/ruledit/comments.txt',
'data/ruledit/comments-3.1.txt',
install_dir : join_paths(get_option('datadir'), 'freeciv/ruledit')
)
scripts/spec_propagate.sh
if [ "x$rej" != x ]; then
echo "*** fix up rejects manually: $rej"
fi
if [ -f "data/ruledit/comments.txt" ]; then
echo "*** fix up ruledit manually: data/ruledit/comments.txt"
if [ -f "data/ruledit/comments-3.1.txt" ]; then
echo "*** fix up ruledit manually: data/ruledit/comments-3.1.txt"
fi
}
tools/ruledit/ruledit.cpp
comments_free();
} else {
log_error(R__("Failed to load comments.txt"));
/* TRANS: 'Failed to load comments-x.y.txt' where x.y is
* freeciv version */
log_error(R__("Failed to load %s."), COMMENTS_FILE_NAME);
}
}
tools/ruleup.c
}
if (!comments_load()) {
log_error(R__("Failed to load comments.txt"));
/* TRANS: 'Failed to load comments-x.y.txt' where x.y is
* freeciv version */
log_error(R__("Failed to load %s."), COMMENTS_FILE_NAME);
}
save_ruleset(tgt_dir, game.control.name, &data);
tools/ruleutil/comments.c
struct section_file *comment_file;
const char *fullpath;
fullpath = fileinfoname(get_data_dirs(), "ruledit/comments.txt");
fullpath = fileinfoname(get_data_dirs(), "ruledit/" COMMENTS_FILE_NAME);
if (fullpath == NULL) {
return FALSE;
tools/ruleutil/comments.h
extern "C" {
#endif /* __cplusplus */
#define COMMENTS_FILE_NAME "comments-3.1.txt"
struct section_file;
bool comments_load(void);
    (1-1/1)