Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5bf9770

Browse files
committed
Actual initial commit.
1 parent194e97f commit5bf9770

File tree

7 files changed

+745
-2
lines changed

7 files changed

+745
-2
lines changed

‎GNUmakefile‎

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
#!/usr/bin/gmake -f
2+
#
3+
# This plugin is free software: you can redistribute it and/or modify
4+
# it under the terms of the GNU General Public License as published by
5+
# the Free Software Foundation, either version 3 of the License, or
6+
# (at your option) any later version.
7+
#
8+
# This plugin is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11+
# GNU General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU General Public License
14+
# along with this plugin. If not, see <http://www.gnu.org/licenses/>.
15+
#
16+
# Copyright © 2023 OOTA, Masato
17+
18+
19+
LANGS=ja
20+
XML=plugin.xml
21+
LUA=events/local_system_map_seller.lua
22+
23+
GETTEXTDIR=gettext
24+
ITS=$(GETTEXTDIR)/its/translation.its
25+
POTFILE=$(GETTEXTDIR)/easy_mapping.pot
26+
MOFILES=$(LANGS:%=$(GETTEXTDIR)/%/LC_MESSAGES/naev.mo)
27+
28+
pot:$(POTFILE)
29+
mo:$(MOFILES)
30+
31+
32+
$(POTFILE):$(XML)$(LUA)$(ITS)
33+
@( xgettext --its=$(ITS)$(XML) -o -;echo; \
34+
( xgettext --from-code UTF-8$(LUA) -o -| sed'0,/^$$/d' ) )>$@
35+
@echo Create$(LANGS:%=\"$(GETTEXTDIR)/%.po\") from\"$@\", andthen run\"make mo\".
36+
37+
38+
$(GETTEXTDIR)/%/LC_MESSAGES/naev.mo:$(GETTEXTDIR)/%.po
39+
mkdir -p$(dir$@)
40+
msgfmt$^ -o$@
41+
42+
clean:
43+
-rm$(POTFILE)$(MOFILES)

‎README.md‎

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,31 @@
1-
#easy_mapping_plugin_for_naev
2-
Easy Mapping Plugin for Naev
1+
<!--
2+
This plugin is free software: you can redistribute it and/or modify
3+
it under the terms of the GNU General Public License as published by
4+
the Free Software Foundation, either version 3 of the License, or
5+
(at your option) any later version.
6+
7+
This plugin is distributed in the hope that it will be useful,
8+
but WITHOUT ANY WARRANTY; without even the implied warranty of
9+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10+
GNU General Public License for more details.
11+
12+
You should have received a copy of the GNU General Public License
13+
along with this plugin. If not, see <http://www.gnu.org/licenses/>.
14+
15+
Copyright © 2023 OOTA, Masato
16+
-->
17+
18+
#Easy Mapping Plugin for Naev
19+
This is a plugin for[Naev](https://github.com/naev/naev).
20+
21+
This plugin makes easy to determine whether or not you know the entire information in the local system map, and also you can get the local system map without a landable spob and a landing.
22+
23+
When you enter a system:
24+
1. If there is neither hail nor message: you know already the entire information in the local system map (or you don't have enough credits).
25+
2. If you receive either hail or message: you don't grasp the entire information in the local system map.
26+
27+
2-1. If you receive a hail from a map seller: you can buy the local system map (even if the system has no landable spob) but, of course, it's expensive.
28+
2-2. If you receive the message "There seems to be no map seller in this system.": you have to discover the information by yourself.
29+
30+
#Translation?
31+
Naev seems not to support a translation for a plugin. Japanese players should remove gettext/ja/LC_MESSAGES/naev.mo.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp