Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhi6722 committed Dec 16, 2021
0 parents commit fe0838c
Show file tree
Hide file tree
Showing 180 changed files with 23,934 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# language-translator
Binary file added assets/.DS_Store
Binary file not shown.
Empty file added assets/css/style.css
Empty file.
1 change: 1 addition & 0 deletions assets/css/tailwind.min.css

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions assets/js/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
$(document).ready(function () {
$("#convert").on("click", function () {
var lang_one = $("#lang_one").val();
var lang_two = $("#lang_two").val();
var text = $("#text").val();

$.ajax({
url: "process.php",
type: "post",
data: { lang_one: lang_one, lang_two: lang_two, text: text },
success: function (status) {
text = $("#text").val(status);
},
});
});
});
2 changes: 2 additions & 0 deletions assets/js/jquery.min.js

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require": {
"stichoza/google-translate-php": "^4.1"
}
}
Loading

0 comments on commit fe0838c

Please sign in to comment.