From d289dce37c186a8c21f23b2aa8d2e10d43de6b4f Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Sat, 01 Dec 2012 15:51:30 +0000 Subject: Add translation comments. --- diff --git a/commun.py b/commun.py index 281c7e4..8109b34 100755 --- a/commun.py +++ b/commun.py @@ -54,27 +54,74 @@ TXT_TIT_APP = _("Musical theory - Musical instruments") TXT_CMP_MOD = _("Comparison mode") TXT_CMP_QUI = _("Compared to") +# TRANS: A scale is any sequence of musical notes in an ascending or descending +# order -- http://en.wikipedia.org/wiki/Scale_(music) TXT_CMP_GAM = _("scales") + +# TRANS: A chord in music is any harmonic set of two or more notes that is +# heard as if sounding simultaneously. +# -- http://en.wikipedia.org/wiki/Chord_(music) TXT_CMP_ACC = _("chords") TXT_CMP_INF = _("contained") TXT_CMP_EGA = _("equal") TXT_CMP_SUP = _("contains") +# TRANS: A scale is any sequence of musical notes in an ascending or descending +# order -- http://en.wikipedia.org/wiki/Scale_(music) TXT_GAM = _("Scale") + +# TRANS: A chord in music is any harmonic set of two or more notes that is +# heard as if sounding simultaneously. +# -- http://en.wikipedia.org/wiki/Chord_(music) TXT_ACC = _("Chord") + +# TRANS: In music theory, the key of a piece usually refers to the tonic note +# and chord, which gives a subjective sense of arrival and rest. +# -- http://en.wikipedia.org/wiki/Key_(music) TXT_TON = _("Key") + +# TRANS: In music theory, the root of a chord (in French, basse fondamentale) +# is the note or pitch upon which a chord may be built by stacking thirds. +# -- http://en.wikipedia.org/wiki/Root_(music) TXT_FND = _("Root") + +# TRANS: Mode generally refers to a type of scale, coupled with a set of +# characteristic melodic behaviours. +# -- http://en.wikipedia.org/wiki/Mode_(music) TXT_MOD = _("Mode") + +# TRANS: In music theory, the word inversion has several meanings. There are +# inverted chords, inverted melodies, inverted intervals, and (in counterpoint) +# inverted voices. -- http://en.wikipedia.org/wiki/Inversion_(music) TXT_REN = _("Inversion") + +# TRANS: In music, parallel keys are the major and minor scales that have the +# same tonic. A major and minor scale sharing the same tonic are said to be in +# a parallel relationship. -- http://en.wikipedia.org/wiki/Parallel_(music) TXT_REL = _("Parallel") TXT_NOT = _("Tones") + +# TRANS: In music theory, an interval is a combination of two notes, or the +# ratio between their frequencies. +# -- http://en.wikipedia.org/wiki/Intervals_(music) TXT_INT = _("Intervals") +# TRANS: In music, tonality is the principle of organizing musical +# compositions around a central note, the tonic. +# -- http://www.britannica.com/EBchecked/topic/599046/tonality TXT_TYP_TON = _("Tonality") TXT_TYP_INS = _("Instrument") TXT_TYP_GUI = _("Tuning") TXT_TYP_NBC = _("Cases") + +# TRANS: In music, fingering is the choice of which fingers and hand positions +# to use when playing certain musical instruments. +# -- http://en.wikipedia.org/wiki/Fingering_(music) TXT_TYP_DGT = _("Fingering") + +# TRANS: In music, tension is the perceived need for relaxation or release +# created by a listener's expectations. +# -- http://en.wikipedia.org/wiki/Tension_(music) TXT_TIT_TEN = _("Tension") TXT_TIT_CMP = _("To compare") @@ -98,11 +145,24 @@ TXT_ONG_FLU = _("Recorder") TXT_ONG_GUI = _("Guitar") TXT_ONG_CLA = _("Clarinet") +# TRANS: A scale is any sequence of musical notes in an ascending or descending +# order -- http://en.wikipedia.org/wiki/Scale_(music) TXT_ONG_GAM = _("Scales") + +# TRANS: A chord in music is any harmonic set of two or more notes that is +# heard as if sounding simultaneously. +# -- http://en.wikipedia.org/wiki/Chord_(music) TXT_ONG_ACC = _("Chords") TXT_ONG_NOT = _("Tones") +# TRANS: In music, an octave or perfect octave is the interval between one +# musical pitch and another with half or double its frequency. +# -- http://en.wikipedia.org/wiki/Octave TXT_OCT_PRM = _("First octave") + +# TRANS: In music, an octave or perfect octave is the interval between one +# musical pitch and another with half or double its frequency. +# -- http://en.wikipedia.org/wiki/Octave TXT_OCT_NBR = _("Number of octaves") TXT_DGT_4E6 = _("4 tones, 6 cases") @@ -110,7 +170,15 @@ TXT_DGT_3E5 = _("3 tones, 5 cases") TXT_DGT_EGG = _("left, left") TXT_DGT_EGD = _("left, right") + +# TRANS: In music, an octave or perfect octave is the interval between one +# musical pitch and another with half or double its frequency. +# -- http://en.wikipedia.org/wiki/Octave TXT_DEG_OCT = _("Octave") + +# TRANS: In music, Unison may refer to two notes sounding the same pitch, +# often but not always at the same time. +# -- http://en.wikipedia.org/wiki/Unison TXT_DEG_UNI = _("Unison") TXT_ABR_OCT = _("Oct.") @@ -122,7 +190,16 @@ TXT_HAR_ASP = _("Asp") TXT_REC_LIS = _("Listen") TXT_REC_INT = _("Intervals recognition") + +# TRANS: In music, the term note has two primary meanings, A sign used in +# musical notation to represent the relative duration and pitch of a sound or +# A pitched sound itself. +# -- http://en.wikipedia.org/wiki/Note TXT_REC_NOT = _("Notes recognition") + +# TRANS: In music theory, an interval is a combination of two notes, or the +# ratio between their frequencies. +# -- http://en.wikipedia.org/wiki/Intervals_(music) TXT_REC_LII = _("Listen to this interval and try to identify it") TXT_REC_LNI = _("Listen to this note and try to identify it") diff --git a/composant_notes.py b/composant_notes.py index 1ea2b8d..f6d5ed8 100755 --- a/composant_notes.py +++ b/composant_notes.py @@ -104,6 +104,10 @@ class ComposantNotes(Observable): self.listeNOT.append(obj) labelNOT = definirLabel(TXT_NOT + " : ") self.texteNOT = definirButton(" ") + # TRANS: In music transposition refers to the process, or + # operation, of moving a collection of notes (pitches or pitch + # classes) up or down in pitch by a constant interval. + # -- http://en.wikipedia.org/wiki/Transposition_(music) labelTRS, self.comboTRS = definirLabelCombo(_("Transposition"), LISTE_NOMS_NOTES) tlbNOT = definirHBOX(self.listeNOT, True, True) tlbNOT = definirTOOLBAR([tlbNOT]) diff --git a/modele_data.py b/modele_data.py index 1d2ff3f..cbb182a 100755 --- a/modele_data.py +++ b/modele_data.py @@ -79,9 +79,18 @@ class ListeFlutes: self.__listeNOM = [] self.__listeINS = [] for ref in [_('C'), _('F')]: + # TRANS: The recorder is a woodwind musical instrument + # of the family known as fipple flutes or internal duct + # flutes—whistle-like instruments which include the tin + # whistle. -- http://en.wikipedia.org/wiki/Recorder txt = "%s : %s" % (_("Recorder (baroque fingering)"), ref) self.__listeNOM.append(txt) self.__listeINS.append(Flute(ref, FLU_DGT_BAR)) + + # TRANS: The recorder is a woodwind musical instrument + # of the family known as fipple flutes or internal duct + # flutes—whistle-like instruments which include the tin + # whistle. -- http://en.wikipedia.org/wiki/Recorder txt = "%s : %s" % (_("Recorder (modern fingering)"), ref) self.__listeNOM.append(txt) self.__listeINS.append(Flute(ref, FLU_DGT_MOD)) diff --git a/po/Theorie.pot b/po/Theorie.pot index fe6b42d..eed704c 100644 --- a/po/Theorie.pot +++ b/po/Theorie.pot @@ -8,20 +8,24 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2012-12-01 20:11+0530\n" +"POT-Creation-Date: 2012-12-01 21:21+0530\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: \n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=CHARSET\n" +"Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #: activity/activity.info:2 msgid "Theorie" msgstr "" -#: composant_notes.py:107 +#. TRANS: In music transposition refers to the process, or +#. operation, of moving a collection of notes (pitches or pitch +#. classes) up or down in pitch by a constant interval. +#. -- http://en.wikipedia.org/wiki/Transposition_(music) +#: composant_notes.py:111 msgid "Transposition" msgstr "" @@ -33,45 +37,53 @@ msgstr "" msgid "Diatonic harmonica" msgstr "" -#: modele_data.py:81 modele_data.py:144 modele.py:46 test_modele.py:232 +#: modele_data.py:81 modele_data.py:153 modele.py:46 test_modele.py:232 #: test_modele.py:233 test_modele.py:236 test_modele.py:237 test_modele.py:238 #: test_modele.py:239 test_modele.py:242 msgid "C" msgstr "" -#: modele_data.py:81 modele_data.py:141 modele.py:46 +#: modele_data.py:81 modele_data.py:150 modele.py:46 msgid "F" msgstr "" -#: modele_data.py:82 +#. TRANS: The recorder is a woodwind musical instrument +#. of the family known as fipple flutes or internal duct +#. flutes—whistle-like instruments which include the tin +#. whistle. -- http://en.wikipedia.org/wiki/Recorder +#: modele_data.py:86 msgid "Recorder (baroque fingering)" msgstr "" -#: modele_data.py:85 +#. TRANS: The recorder is a woodwind musical instrument +#. of the family known as fipple flutes or internal duct +#. flutes—whistle-like instruments which include the tin +#. whistle. -- http://en.wikipedia.org/wiki/Recorder +#: modele_data.py:94 msgid "Recorder (modern fingering)" msgstr "" -#: modele_data.py:132 commun.py:99 +#: modele_data.py:141 commun.py:146 msgid "Clarinet" msgstr "" -#: modele_data.py:138 +#: modele_data.py:147 msgid "B flat" msgstr "" -#: modele_data.py:139 modele.py:46 +#: modele_data.py:148 modele.py:46 msgid "A" msgstr "" -#: modele_data.py:140 modele.py:46 +#: modele_data.py:149 modele.py:46 msgid "G" msgstr "" -#: modele_data.py:142 +#: modele_data.py:151 msgid "E flat" msgstr "" -#: modele_data.py:143 modele.py:46 +#: modele_data.py:152 modele.py:46 msgid "D" msgstr "" @@ -187,232 +199,293 @@ msgstr "" msgid "Compared to" msgstr "" -#: commun.py:57 +#. TRANS: A scale is any sequence of musical notes in an ascending or descending +#. order -- http://en.wikipedia.org/wiki/Scale_(music) +#: commun.py:59 msgid "scales" msgstr "" -#: commun.py:58 +#. TRANS: A chord in music is any harmonic set of two or more notes that is +#. heard as if sounding simultaneously. +#. -- http://en.wikipedia.org/wiki/Chord_(music) +#: commun.py:64 msgid "chords" msgstr "" -#: commun.py:59 +#: commun.py:65 msgid "contained" msgstr "" -#: commun.py:60 +#: commun.py:66 msgid "equal" msgstr "" -#: commun.py:61 +#: commun.py:67 msgid "contains" msgstr "" -#: commun.py:63 +#. TRANS: A scale is any sequence of musical notes in an ascending or descending +#. order -- http://en.wikipedia.org/wiki/Scale_(music) +#: commun.py:71 msgid "Scale" msgstr "" -#: commun.py:64 +#. TRANS: A chord in music is any harmonic set of two or more notes that is +#. heard as if sounding simultaneously. +#. -- http://en.wikipedia.org/wiki/Chord_(music) +#: commun.py:76 msgid "Chord" msgstr "" -#: commun.py:65 +#. TRANS: In music theory, the key of a piece usually refers to the tonic note +#. and chord, which gives a subjective sense of arrival and rest. +#. -- http://en.wikipedia.org/wiki/Key_(music) +#: commun.py:81 msgid "Key" msgstr "" -#: commun.py:66 +#. TRANS: In music theory, the root of a chord (in French, basse fondamentale) +#. is the note or pitch upon which a chord may be built by stacking thirds. +#. -- http://en.wikipedia.org/wiki/Root_(music) +#: commun.py:86 msgid "Root" msgstr "" -#: commun.py:67 +#. TRANS: Mode generally refers to a type of scale, coupled with a set of +#. characteristic melodic behaviours. +#. -- http://en.wikipedia.org/wiki/Mode_(music) +#: commun.py:91 msgid "Mode" msgstr "" -#: commun.py:68 +#. TRANS: In music theory, the word inversion has several meanings. There are +#. inverted chords, inverted melodies, inverted intervals, and (in counterpoint) +#. inverted voices. -- http://en.wikipedia.org/wiki/Inversion_(music) +#: commun.py:96 msgid "Inversion" msgstr "" -#: commun.py:69 +#. TRANS: In music, parallel keys are the major and minor scales that have the +#. same tonic. A major and minor scale sharing the same tonic are said to be in +#. a parallel relationship. -- http://en.wikipedia.org/wiki/Parallel_(music) +#: commun.py:101 msgid "Parallel" msgstr "" -#: commun.py:70 commun.py:103 +#: commun.py:102 commun.py:156 msgid "Tones" msgstr "" -#: commun.py:71 +#. TRANS: In music theory, an interval is a combination of two notes, or the +#. ratio between their frequencies. +#. -- http://en.wikipedia.org/wiki/Intervals_(music) +#: commun.py:107 msgid "Intervals" msgstr "" -#: commun.py:73 +#. TRANS: In music, tonality is the principle of organizing musical +#. compositions around a central note, the tonic. +#. -- http://www.britannica.com/EBchecked/topic/599046/tonality +#: commun.py:112 msgid "Tonality" msgstr "" -#: commun.py:74 +#: commun.py:113 msgid "Instrument" msgstr "" -#: commun.py:75 +#: commun.py:114 msgid "Tuning" msgstr "" -#: commun.py:76 +#: commun.py:115 msgid "Cases" msgstr "" -#: commun.py:77 +#. TRANS: In music, fingering is the choice of which fingers and hand positions +#. to use when playing certain musical instruments. +#. -- http://en.wikipedia.org/wiki/Fingering_(music) +#: commun.py:120 msgid "Fingering" msgstr "" -#: commun.py:78 +#. TRANS: In music, tension is the perceived need for relaxation or release +#. created by a listener's expectations. +#. -- http://en.wikipedia.org/wiki/Tension_(music) +#: commun.py:125 msgid "Tension" msgstr "" -#: commun.py:80 +#: commun.py:127 msgid "To compare" msgstr "" -#: commun.py:81 +#: commun.py:128 msgid "Tone" msgstr "" -#: commun.py:82 +#: commun.py:129 msgid "Degrees" msgstr "" -#: commun.py:84 +#: commun.py:131 msgid "Tones list" msgstr "" -#: commun.py:85 +#: commun.py:132 msgid "Tones set" msgstr "" -#: commun.py:87 +#: commun.py:134 msgid "Theory" msgstr "" -#: commun.py:88 +#: commun.py:135 msgid "Instruments" msgstr "" -#: commun.py:90 +#: commun.py:137 msgid "Quadrant" msgstr "" -#: commun.py:91 +#: commun.py:138 msgid "Comparisons" msgstr "" -#: commun.py:92 +#: commun.py:139 msgid "Ear training" msgstr "" -#: commun.py:93 +#: commun.py:140 msgid "Playing" msgstr "" -#: commun.py:95 +#: commun.py:142 msgid "Piano" msgstr "" -#: commun.py:96 +#: commun.py:143 msgid "Harmonica" msgstr "" -#: commun.py:97 +#: commun.py:144 msgid "Recorder" msgstr "" -#: commun.py:98 +#: commun.py:145 msgid "Guitar" msgstr "" -#: commun.py:101 +#. TRANS: A scale is any sequence of musical notes in an ascending or descending +#. order -- http://en.wikipedia.org/wiki/Scale_(music) +#: commun.py:150 msgid "Scales" msgstr "" -#: commun.py:102 +#. TRANS: A chord in music is any harmonic set of two or more notes that is +#. heard as if sounding simultaneously. +#. -- http://en.wikipedia.org/wiki/Chord_(music) +#: commun.py:155 msgid "Chords" msgstr "" -#: commun.py:105 +#. TRANS: In music, an octave or perfect octave is the interval between one +#. musical pitch and another with half or double its frequency. +#. -- http://en.wikipedia.org/wiki/Octave +#: commun.py:161 msgid "First octave" msgstr "" -#: commun.py:106 +#. TRANS: In music, an octave or perfect octave is the interval between one +#. musical pitch and another with half or double its frequency. +#. -- http://en.wikipedia.org/wiki/Octave +#: commun.py:166 msgid "Number of octaves" msgstr "" -#: commun.py:108 +#: commun.py:168 msgid "4 tones, 6 cases" msgstr "" -#: commun.py:109 +#: commun.py:169 msgid "3 tones, 5 cases" msgstr "" -#: commun.py:110 +#: commun.py:170 msgid "left, left" msgstr "" -#: commun.py:111 +#: commun.py:171 msgid "left, right" msgstr "" -#: commun.py:113 +#. TRANS: In music, an octave or perfect octave is the interval between one +#. musical pitch and another with half or double its frequency. +#. -- http://en.wikipedia.org/wiki/Octave +#: commun.py:177 msgid "Octave" msgstr "" -#: commun.py:114 +#. TRANS: In music, Unison may refer to two notes sounding the same pitch, +#. often but not always at the same time. +#. -- http://en.wikipedia.org/wiki/Unison +#: commun.py:182 msgid "Unison" msgstr "" -#: commun.py:116 +#: commun.py:184 msgid "Oct." msgstr "" -#: commun.py:117 +#: commun.py:185 msgid "the names" msgstr "" -#: commun.py:118 +#: commun.py:186 msgid "in half tones" msgstr "" -#: commun.py:120 +#: commun.py:188 msgid "Blo" msgstr "" -#: commun.py:121 +#: commun.py:189 msgid "Asp" msgstr "" -#: commun.py:123 +#: commun.py:191 msgid "Listen" msgstr "" -#: commun.py:124 +#: commun.py:192 msgid "Intervals recognition" msgstr "" -#: commun.py:125 +#. TRANS: In music, the term note has two primary meanings, A sign used in +#. musical notation to represent the relative duration and pitch of a sound or +#. A pitched sound itself. +#. -- http://en.wikipedia.org/wiki/Note +#: commun.py:198 msgid "Notes recognition" msgstr "" -#: commun.py:126 +#. TRANS: In music theory, an interval is a combination of two notes, or the +#. ratio between their frequencies. +#. -- http://en.wikipedia.org/wiki/Intervals_(music) +#: commun.py:203 msgid "Listen to this interval and try to identify it" msgstr "" -#: commun.py:127 +#: commun.py:204 msgid "Listen to this note and try to identify it" msgstr "" -#: commun.py:129 +#: commun.py:206 #, python-format msgid "Try number %d : good, this is a %s indeed !" msgstr "" -#: commun.py:130 +#: commun.py:207 #, python-format msgid "Try number %d : error, this is not a %s !" msgstr "" -- cgit v0.9.1