Added logo
This commit is contained in:
parent
ff5bb588fe
commit
e903b83f38
@ -1,3 +1,5 @@
|
|||||||
|
<img align="right" width="50" height="50" src="assets/yandex_translate.svg">
|
||||||
|
|
||||||
# YandexTranslate
|
# YandexTranslate
|
||||||
|
|
||||||
A simple Elixir interface to Cloud Yandex Translate's translation API
|
A simple Elixir interface to Cloud Yandex Translate's translation API
|
||||||
|
BIN
assets/yandex_translate.png
Normal file
BIN
assets/yandex_translate.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.1 KiB |
17
assets/yandex_translate.svg
Normal file
17
assets/yandex_translate.svg
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<svg width="50px" height="50px" viewBox="0 0 50 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||||
|
<!-- Generator: Sketch 52.6 (67491) - http://www.bohemiancoding.com/sketch -->
|
||||||
|
<title>yandex_translate</title>
|
||||||
|
<desc>Created with Sketch.</desc>
|
||||||
|
<g id="yandex_translate" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
||||||
|
<g id="yt" transform="translate(3.000000, 3.000000)">
|
||||||
|
<circle id="Ground" fill="#4A90E2" cx="22.5" cy="22.5" r="22.5"></circle>
|
||||||
|
<g id="Letters" transform="translate(7.000000, 7.000000)">
|
||||||
|
<circle id="Oval" fill="#FFFFFF" cx="20" cy="10" r="10"></circle>
|
||||||
|
<path d="M20.23,12.79 C19.872,12.053 19.525,11.156 19.26,10.094 C20.07,9.764 20.902,9.59 21.674,9.59 C21.85,9.59 22.022,9.6 22.19,9.617 C21.868,10.504 21.357,11.497 20.55,12.449 C20.448,12.567 20.34,12.679 20.23,12.789 L20.23,12.79 Z M16.272,13.917 C15.914,13.079 16.689,11.712 17.952,10.801 C18.268,11.961 18.672,12.944 19.085,13.741 C18.313,14.245 17.523,14.521 16.933,14.431 C16.605,14.381 16.401,14.223 16.273,13.918 L16.272,13.917 Z M23.978,8.605 C24.116,7.935 24.162,7.392 24.178,7.037 L22.73,7.037 C22.717,7.307 22.68,7.707 22.584,8.199 C21.456,8.034 20.184,8.193 18.966,8.644 C18.83,7.831 18.746,7.077 18.7,6.407 C23.036,6.157 25.595,5.1 25.713,5.05 L25.157,3.704 C25.13,3.714 22.709,4.706 18.644,4.949 C18.638,3.943 18.706,3.331 18.71,3.297 L17.258,3.297 C17.232,3.58 17.19,4.172 17.196,5 L17.063,5.004 C15.766,5.007 14.563,4.907 14.278,4.881 L14.278,6.348 C14.703,6.386 15.731,6.465 16.901,6.465 L17.254,6.461 C17.311,7.294 17.421,8.248 17.614,9.289 C15.694,10.442 14.17,12.679 14.946,14.496 C15.272,15.26 15.901,15.749 16.718,15.874 C16.855,15.894 16.996,15.906 17.142,15.906 C17.969,15.906 18.917,15.568 19.822,14.992 C20.412,15.882 20.89,16.352 20.932,16.392 L21.926,15.332 C21.916,15.322 21.496,14.912 20.969,14.102 C21.205,13.882 21.435,13.652 21.649,13.402 C22.609,12.268 23.207,11.092 23.579,10.04 C23.906,10.23 24.227,10.516 24.397,10.942 C24.975,12.392 24.14,14.066 23.362,14.794 L24.342,15.864 C25.637,14.654 26.532,12.388 25.737,10.396 C25.424,9.612 24.82,8.999 23.98,8.606 L23.978,8.605 Z" id="Shape" fill="#4A90E2" fill-rule="nonzero"></path>
|
||||||
|
<circle id="Oval" fill="#FFFFFF" cx="10" cy="20" r="10"></circle>
|
||||||
|
<path d="M11.795,20.744 L8.205,20.744 L10,16.158 L11.795,20.744 Z M10.775,13.742 L9.225,13.742 L4.405,25.454 L6.378,25.454 L7.563,22.338 L12.437,22.338 L13.622,25.454 L15.594,25.454 L10.775,13.742 Z" id="Shape" fill="#4A90E2" fill-rule="nonzero"></path>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</g>
|
||||||
|
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
BIN
assets/yandex_translate@2x.png
Normal file
BIN
assets/yandex_translate@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
18
mix.exs
18
mix.exs
@ -1,6 +1,9 @@
|
|||||||
defmodule YandexTranslate.Mixfile do
|
defmodule YandexTranslate.MixProject do
|
||||||
use Mix.Project
|
use Mix.Project
|
||||||
|
|
||||||
|
@version "0.3.0"
|
||||||
|
# @repo_url "https://github.com/negrienko/yandex_translate"
|
||||||
|
@repo_url "https://gl.negrienko.com/negrienko/yandex_translate"
|
||||||
@description """
|
@description """
|
||||||
Translate word and phrases using the Yandex Translate API. See README.md for information.
|
Translate word and phrases using the Yandex Translate API. See README.md for information.
|
||||||
"""
|
"""
|
||||||
@ -8,14 +11,20 @@ defmodule YandexTranslate.Mixfile do
|
|||||||
def project do
|
def project do
|
||||||
[
|
[
|
||||||
app: :yandex_translate,
|
app: :yandex_translate,
|
||||||
version: "0.1.0",
|
version: @version,
|
||||||
elixir: "~> 1.8",
|
elixir: "~> 1.8",
|
||||||
description: @description,
|
description: @description,
|
||||||
build_embedded: Mix.env() == :prod,
|
build_embedded: Mix.env() == :prod,
|
||||||
start_permanent: Mix.env() == :prod,
|
start_permanent: Mix.env() == :prod,
|
||||||
package: package(),
|
package: package(),
|
||||||
deps: deps(),
|
deps: deps(),
|
||||||
source_url: "https://gl.negrienko.com/negrienko/yandex_translate"
|
# source_url: @repo_url,
|
||||||
|
docs: [
|
||||||
|
logo: "assets/yandex_translate.svg",
|
||||||
|
main: "YandexTranslate",
|
||||||
|
source_ref: @version,
|
||||||
|
source_url: @repo_url
|
||||||
|
]
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -33,6 +42,7 @@ defmodule YandexTranslate.Mixfile do
|
|||||||
{:jason, "~> 1.1.2"},
|
{:jason, "~> 1.1.2"},
|
||||||
{:mint, "~> 0.3.0"},
|
{:mint, "~> 0.3.0"},
|
||||||
{:castore, "~> 0.1.2"},
|
{:castore, "~> 0.1.2"},
|
||||||
|
{:ex_spec, "~> 2.0.1", only: :test},
|
||||||
{:ex_doc, "~> 0.20.2", only: :dev},
|
{:ex_doc, "~> 0.20.2", only: :dev},
|
||||||
{:remix, "~> 0.0.2", only: :dev}
|
{:remix, "~> 0.0.2", only: :dev}
|
||||||
]
|
]
|
||||||
@ -42,7 +52,7 @@ defmodule YandexTranslate.Mixfile do
|
|||||||
[
|
[
|
||||||
maintainers: ["Danylo Negriienko"],
|
maintainers: ["Danylo Negriienko"],
|
||||||
licenses: ["MIT"],
|
licenses: ["MIT"],
|
||||||
links: %{"git" => "https://gl.negrienko.com/negrienko/yandex_translate"}
|
links: %{"git" => @repo_url}
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
1
mix.lock
1
mix.lock
@ -4,6 +4,7 @@
|
|||||||
"certifi": {:hex, :certifi, "2.5.1", "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5", [:rebar3], [{:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm"},
|
"certifi": {:hex, :certifi, "2.5.1", "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5", [:rebar3], [{:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm"},
|
||||||
"earmark": {:hex, :earmark, "1.3.2", "b840562ea3d67795ffbb5bd88940b1bed0ed9fa32834915125ea7d02e35888a5", [:mix], [], "hexpm"},
|
"earmark": {:hex, :earmark, "1.3.2", "b840562ea3d67795ffbb5bd88940b1bed0ed9fa32834915125ea7d02e35888a5", [:mix], [], "hexpm"},
|
||||||
"ex_doc": {:hex, :ex_doc, "0.20.2", "1bd0dfb0304bade58beb77f20f21ee3558cc3c753743ae0ddbb0fd7ba2912331", [:mix], [{:earmark, "~> 1.3", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.10", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
|
"ex_doc": {:hex, :ex_doc, "0.20.2", "1bd0dfb0304bade58beb77f20f21ee3558cc3c753743ae0ddbb0fd7ba2912331", [:mix], [{:earmark, "~> 1.3", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.10", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
|
||||||
|
"ex_spec": {:hex, :ex_spec, "2.0.1", "8bdbd6fa85995fbf836ed799571d44be6f9ebbcace075209fd0ad06372c111cf", [:mix], [], "hexpm"},
|
||||||
"hackney": {:hex, :hackney, "1.15.1", "9f8f471c844b8ce395f7b6d8398139e26ddca9ebc171a8b91342ee15a19963f4", [:rebar3], [{:certifi, "2.5.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "6.0.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.4", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm"},
|
"hackney": {:hex, :hackney, "1.15.1", "9f8f471c844b8ce395f7b6d8398139e26ddca9ebc171a8b91342ee15a19963f4", [:rebar3], [{:certifi, "2.5.1", [hex: :certifi, repo: "hexpm", optional: false]}, {:idna, "6.0.0", [hex: :idna, repo: "hexpm", optional: false]}, {:metrics, "1.0.1", [hex: :metrics, repo: "hexpm", optional: false]}, {:mimerl, "~>1.1", [hex: :mimerl, repo: "hexpm", optional: false]}, {:ssl_verify_fun, "1.1.4", [hex: :ssl_verify_fun, repo: "hexpm", optional: false]}], "hexpm"},
|
||||||
"httpoison": {:hex, :httpoison, "1.5.1", "0f55b5b673b03c5c327dac7015a67cb571b99b631acc0bc1b0b98dcd6b9f2104", [:mix], [{:hackney, "~> 1.8", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"},
|
"httpoison": {:hex, :httpoison, "1.5.1", "0f55b5b673b03c5c327dac7015a67cb571b99b631acc0bc1b0b98dcd6b9f2104", [:mix], [{:hackney, "~> 1.8", [hex: :hackney, repo: "hexpm", optional: false]}], "hexpm"},
|
||||||
"idna": {:hex, :idna, "6.0.0", "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10", [:rebar3], [{:unicode_util_compat, "0.4.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm"},
|
"idna": {:hex, :idna, "6.0.0", "689c46cbcdf3524c44d5f3dde8001f364cd7608a99556d8fbd8239a5798d4c10", [:rebar3], [{:unicode_util_compat, "0.4.1", [hex: :unicode_util_compat, repo: "hexpm", optional: false]}], "hexpm"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user