TITLE:貢献 (Contributing) 原文 = http://ankisrs.net/docs/manual.html#contributing ---- 目次 #contents &br;&br; * 広く単語帳を公開する [#sharing-decks-publicly] //* Sharing Decks Publicly 単語帳を一般に広く共有するには、AnkiWeb にて単語帳を 同期 した後、AnkiWeb にログインし、共有したい単語帳の隣のメニューから "Share" をクリックしてください。 //To share decks with the general public, <<syncing,synchronize>> them with AnkiWeb, then log into AnkiWeb and click on "Share" from the menu next to the deck you wish to share. 単語帳を以前に共有していれば(Anki の 前バージョンも含む)、上記の "Share" をクリックすることでアップデートをすることができまうす。アカウント中の単語帳の名称が、共有された単語帳のリスト中の名称と完全に一致することを確認してください。違う場合、古いバージョンのアップデートではなく、新しい共有単語帳が作成されてしまいます。共有単語帳のアップデートではダウンロード数や評価レートはリセットされません。アップロードした共有単語帳を削除するには、共有された単語帳のページの削除 (Delete) ボタンを使用してください。 //If you shared a deck previously (including with previous versions of Anki), you can update it by clicking "Share" as above. Please ensure the name of the deck in your account exactly matches the name shown in the shared deck listing, or you'll end up creating a new shared deck rather than updating the old one. Updating a shared deck will not reset the download counts or ratings. You can delete a shared deck that you have uploaded using the Delete button on the shared deck's page. 共有された単語帳をアップデートした場合、アップデート前の単語帳をダウンロードしたユーザーの単語帳は、自動的にはアップデートされません。ユーザーが単語帳を再度ダウンロードし再インポートすれば、新規に追加された要素は存在している学習履歴を維持したままインポートされます。(インポート後に共有者かユーザーがノートタイプを変更した場合を除く。) //When you update a shared deck, users who downloaded the deck previously will not automatically receive updates. If they download the deck again and re-import it, newly added material will be imported without altering their existing study progress, provided neither you nor the user has altered the note type since the first import. >''ノート'' //>''NOTE'' >単語帳のアップデート時には、AnkiWeb は単語帳が以前と同じ場所にあることを前提とします。例えば "韓国語の動詞" という単語帳を共有し、その後 "韓国語::韓国語の動詞" に名前を変更した場合、再共有で既存の単語帳をアップデートすることはできません。 //>When updating a deck, AnkiWeb expects the deck to be at the same location as before. If you shared a deck when it was called "Korean Verbs" for example, and then renamed it to "Korean::Korean Verbs", resharing will not be able to update the existing copy. * 一部で単語帳を公開する [#sharing-decks-privately] //* Sharing Decks Privately 単語帳を世間一般の人々とではなく、限られたメンバーのグループ(学習サークルなど)で共有したい場合は、AnkiWeb以外の場所で単語帳を共有するとよいでしょう。 //If you'd like to share decks with a limited group of people (such as a study group or class) rather than the general public, you can do so by sharing them outside of AnkiWeb. 単語帳を私的に共有するには、File→Export を使って Anki の単語帳パッケージとしてエクスポートしてください(必要であればメディアも含めてください)。そして出力された deck.apkg ファイルを共有相手がダウンロードできるように私的なウェブサイトにおくか、メールで送付してください。 //To share a deck privately, use File>Export and export in the packaged Anki deck format (including media if necessary). You can then place the resulting deck.apkg file on a private website for people to download, or mail it to the relevant people. To share a deck privately, go to the File menu and choose Export. Select a single deck (not "All Decks"), and turn off "include scheduling information". This will produce an .apkg file which you can share with others. You can share the .apkg file by emailing it to people, placing it on a website or shared folder, or using a free file sharing service like Dropbox or Google Drive and sending people a link. デスクトップクライアントとモバイルクライアントは、どちらも apkg ファイルをクリックまたはタップすることでインポートすることができます。しかし、AnkiWeb には apkg ファイルをインポートする機能がないため、単語帳を受け取る人は Anki のデスクトップかモバイルのクライアントを持っている必要があります。 //Both the computer version and mobile clients make it easy to import from an apkg file simply by clicking or tapping on it. AnkiWeb does not have the ability to import apkg files however, so the recipients of your deck will need to have the computer version or Anki on their mobile device. ユーザーが .apkg ファイルをインポートしたとき、コレクションに既に存在するカードは無視され、その他の新しいカードが追加されます。同じノートタイプを使う限り、修正されたカードの更新も行われます。データの喪失を防ぐため、新しい apkg ファイルで削除されたカードはユーザーのコレクションからは削除されません。よってユーザーの単語帳からカードを削除する必要がある場合には、そのことをユーザーに連絡して削除してもらう必要があります。 //When a user imports a .apkg file, cards that already exist in their collection will be ignored and any new cards will be added. As long as they use the same note type, modified cards will also be updated. To prevent data loss, cards that have been deleted in the new apkg file will not be deleted in the user's collection, so if you need to delete cards from users' decks for whatever reason, you will need to contact them about it. * アドオンを公開する [#sharing-add-ons] //* Sharing Add-ons 上記の [[アドオン>2.0/Add-ons]] のドキュメントを参照してください。 //Please see the add-on documentation above. * アプリを翻訳する [#app-translations] //* App Translations Translations can be done directly from the [[translation website :https://translations.launchpad.net/anki/trunk]]. Launchpad will guess which languages you can translate based on the country you're connecting from. If the language you want to translate to doesn't appear, sign up for a launchpad account, and in your profile, click the '!' next to preferred languages to the language you want to translate. There are some special markers in text that you need to be aware of, and careful when translating: -A string like `Cards: %d` or `Error: %s` means that the %d/%s part will be replaced with some other value. The characters must remain the same in the translation, so a translation may look like `カード: %d`. -The same applies to text like `%(a)d of %(b)d` - it would be translated like `%(a)d von %(b)d`. If you need to reverse A and B in your language, that's fine as long as the text remains the same. -Menu items have an & to indicate which character is the shortcut key, such as `&File`. In languages that use roman text, you can place the & over a different character such as `&Datei`; in other languages there may be a different convention. Japanese for example includes the roman character afterwards instead, like `ファイル (&F)` -Some strings have plural support, so that "0 cards", "1 card", "5 cards" can be represented properly in your language. In these instances you'll need to enter the 2 or 3 different forms. Sometimes it will not be clear what a string refers to, and you may want to see the context. Below every string to be translated, you'll see a line like this: Located in ../dtop/aqt/deckbrowser.py:299 If you strip off the first "../dtop" section, you're left with something like "aqt/deckbrowser.py:299". You can then visit https://github.com/dae/anki/, locate the same filename, and click on it. The file will be displayed with line numbers on the left, and by matching up the line numbers (they may differ by a few lines sometimes), you may be able to get a better understanding of what the string refers to. If you see 'forms' in the string like the above example, the strings will generally be obvious. If you do need to understand the context however, things are a little more complicated, as those files are automatically generated from an interface description instead. Please go to https://github.com/dae/anki/tree/master/designer and locate the same filename and click on it. We can't rely on line numbers in this case, so please use the browser's find option to find the string in the file. The lines immediately surrounding the found text may give a clue as to its meaning. If you find a string that you're unsure how to translate, or would like to start a discussion with fellow native speakers on the best way to translate something, please feel free to start a thread in the Anki forums. Any translations that were made at least a few hours before a new Anki release are automatically included in the next release. Entirely new languages need to be added manually, so please contact us if that applies to your translation. If you'd like to see your name in the About screen as a contributor, please drop Damien a line. If you'd like to try out your translations without waiting for a new release, you can export a .mo file from the translation website. If you then move that .mo file into Anki's installation folder, overwriting an existing .mo file with the same language code (in the locale folder), Anki will display the new translations when it is next started. * マニュアルを翻訳する [#translating-the-manual] //* Translating the Manual If you're a fairly technical user, you may want to translate the [[source file :https://raw.github.com/dae/ankidocs/master/manual.txt]] of the manual, and compile it yourself with asciidoc. You can also use that github repo to keep track of changes to the manual in the future. If that sounds complicated, an easier way is to visit this page and use File>Save As to save the manual to disk. You can then import it into Microsoft Word or similar software, and translate it that way. When you're happy with the translation, you can either put it up on your website and I can link to it, or I can host the translated file on Anki's website (but if you're planning to make frequent updates, the former is a better choice). If you'd like, you can post it before you're done and we can link to it in the list of in-progress translations below. Another option is to put your translation on a wiki, so that other users can contribute to it. There are many sites such as [[Wikia :http://www.wikia.com]] that will allow you to easily create your own wiki for free. (The English version once used a wiki; we found that we got too many unhelpful contributions and had to spend too much time correcting them, but your mileage may vary.) The following translations are currently in progress: -Hungarian -Portuguese If you would like to help with one of these translations, please contact us on TenderApp and we will put you in touch with the user(s) currently working on it. * コードを提供する [#contributing-code] //* Contributing Code Anki のソースコードは次から利用可能です: https://github.com/dae/anki //Anki's source code is available at https://github.com/dae/anki 貢献する前には、レポジトリの README.contributing を確認してください。 //Before contributing, please see the README.contributing file in that repo.