From 4506e319460371d997e956c65cacc6f68dd975a8 Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Thu, 3 Oct 2013 23:09:55 +0200 Subject: [PATCH] Fixed name of Ascendant MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit it was typed consequently as “ascendent” --- po/hu.po | 2 +- src/gswe-moment.c | 8 ++++---- src/gswe-types.h | 4 ++-- src/swe-glib.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/po/hu.po b/po/hu.po index 9c4af38..0837450 100644 --- a/po/hu.po +++ b/po/hu.po @@ -86,7 +86,7 @@ msgid "Dark Moon" msgstr "Sötét Hold" #: ../src/swe-glib.c:133 -msgid "Ascendent" +msgid "Ascendant" msgstr "Aszcendens" #: ../src/swe-glib.c:134 diff --git a/src/gswe-moment.c b/src/gswe-moment.c index 1766c2d..bc0e1c4 100644 --- a/src/gswe-moment.c +++ b/src/gswe-moment.c @@ -555,10 +555,10 @@ gswe_moment_calculate_house_positions(GsweMoment *moment, GError **err) moment->priv->house_revision = moment->priv->revision; - // The Ascendent, MC and Vertex points are also calculated by swe_houses(), + // The Ascendant, MC and Vertex points are also calculated by swe_houses(), // so let's update them. - if (gswe_moment_has_planet(moment, GSWE_PLANET_ASCENDENT)) { - calculate_data_by_position(moment, GSWE_PLANET_ASCENDENT, ascmc[0], err); + if (gswe_moment_has_planet(moment, GSWE_PLANET_ASCENDANT)) { + calculate_data_by_position(moment, GSWE_PLANET_ASCENDANT, ascmc[0], err); } if (gswe_moment_has_planet(moment, GSWE_PLANET_MC)) { @@ -680,7 +680,7 @@ gswe_moment_calculate_planet(GsweMoment *moment, GswePlanet planet, GError **err if (planet_data->planet_info->real_body == FALSE) { if ( - (planet_data->planet_info->planet != GSWE_PLANET_ASCENDENT) + (planet_data->planet_info->planet != GSWE_PLANET_ASCENDANT) && (planet_data->planet_info->planet != GSWE_PLANET_MC) && (planet_data->planet_info->planet != GSWE_PLANET_VERTEX) ) { diff --git a/src/gswe-types.h b/src/gswe-types.h index 367e94b..2fbc43b 100644 --- a/src/gswe-types.h +++ b/src/gswe-types.h @@ -53,7 +53,7 @@ * @GSWE_PLANET_MOON_NODE: the mean ascending (north) Moon node * @GSWE_PLANET_MOON_APOGEE: the mean Moon apogee (sometimes called Dark Moon, * or Lilith) - * @GSWE_PLANET_ASCENDENT: the ascendent + * @GSWE_PLANET_ASCENDANT: the ascendant * @GSWE_PLANET_MC: midheaven (Medium Coeli) * @GSWE_PLANET_VERTEX: the Vertex (the point where the ecliptic meats the * primal vertical) @@ -80,7 +80,7 @@ typedef enum { GSWE_PLANET_VESTA, GSWE_PLANET_MOON_NODE, GSWE_PLANET_MOON_APOGEE, - GSWE_PLANET_ASCENDENT, + GSWE_PLANET_ASCENDANT, GSWE_PLANET_MC, GSWE_PLANET_VERTEX } GswePlanet; diff --git a/src/swe-glib.c b/src/swe-glib.c index 149b102..d9d47bc 100644 --- a/src/swe-glib.c +++ b/src/swe-glib.c @@ -137,7 +137,7 @@ gswe_init(void) ADD_PLANET(gswe_planet_info_table, planet_info, GSWE_PLANET_VESTA, SE_VESTA, TRUE, _("Vesta"), 2.0, 0); ADD_PLANET(gswe_planet_info_table, planet_info, GSWE_PLANET_MOON_NODE, SE_MEAN_NODE, TRUE, _("Ascending Moon Node"), 2.0, 1); ADD_PLANET(gswe_planet_info_table, planet_info, GSWE_PLANET_MOON_APOGEE, SE_MEAN_APOG, TRUE, _("Dark Moon"), 2.0, 0); - ADD_PLANET(gswe_planet_info_table, planet_info, GSWE_PLANET_ASCENDENT, -1, FALSE, _("Ascendent"), 9.0, 2); + ADD_PLANET(gswe_planet_info_table, planet_info, GSWE_PLANET_ASCENDANT, -1, FALSE, _("Ascendant"), 9.0, 2); ADD_PLANET(gswe_planet_info_table, planet_info, GSWE_PLANET_MC, -1, FALSE, _("Midheaven"), 5.0, 1); ADD_PLANET(gswe_planet_info_table, planet_info, GSWE_PLANET_VERTEX, -1, FALSE, _("Vertex"), 2.0, 0);